Article View: comp.windows.ms.programmer
Article #235Re: BCC TDW Doesn't Work Under Win 3.1
From: Steve Loughran
Date: Wed, 08 Apr 1992 16:25
Date: Wed, 08 Apr 1992 16:25
50 lines
2121 bytes
2121 bytes
Running Borland C++ in windows 3.1 ================================== Some useful tips to get it to work if you've got the windows sdk (or a "friend" has...) TDW copy windev\cvwin.dll to borland\bin\windebug.dll Winsight & Dr Frank copy windev\toolhelp.dll to borland\bin\toolhelp.dll When compiling code under win31 the old header file works ok 'cept you dont get all the new stuff for which you'll need a new set of header files. Some changes to MS's header file are needed for BC++ compatibility and backwards compatibility too. These changes can be found by diff'ing the old & new files Most significant: win31 has typedef WORD unsigned short and not typedef WORD unsigned int //win 3.0 while currently the word sizes are the same, the compiler complains when you've been mixing pointers to these or mix WORD and unsigned in code. Redefining this to its old version works ok. Trying to rebuild owl doesn't work with my modified header file, that's something which I'll leave to Borland NB: my dos IDE seems to crash if you hit any key while saving now - this may be related to the upgrade of smartdrive/emm386/himem? -Steve ----------------------------------------------------------------------------- | Steve Loughran | | E-MAIL: slo@hplb.hpl.hp.com || slo@hpl.hp.co.uk || slo@hplb.uucp | | ORGANISATION: Hewlett-Packard Laboratories, Bristol | | ADDRESS: Filton Road, Stoke Gifford, Bristol, England, BS12 6QZ | | TELEPHONE: +44 272 228717 | | FAX: +44 272 790554 | -----------------------------------------------------------------------------
Technical Details
Message-ID:
<72170033@otter.hpl.hp.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!hpscdc!hplextra!otter.hpl.hp.com!otter!sloReferences:
<1992Apr7.035208.24356@mnemosyne.cs.du.edu>Show Full Headers
Complete Article Headers
From: slo@otter.hpl.hp.com (Steve Loughran) Date: Wed, 8 Apr 1992 16:25:51 GMT Subject: Re: BCC TDW Doesn't Work Under Win 3.1 Message-ID: <72170033@otter.hpl.hp.com> Organization: Hewlett-Packard Laboratories, Bristol, UK. Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!hpscdc!hplextra!otter.hpl.hp.com!otter!slo Newsgroups: comp.windows.ms.programmer References: <1992Apr7.035208.24356@mnemosyne.cs.du.edu>