On 30 Oct 2001 07:23:47 -0800, "Dennis Bazant" <dpbaz...@up.com> wrote:
Quote
>moving a rather large (several million lines) 16 bit application to 32 bit.
>... developed with Borland 4.53
>anyone know of any articles, documentation or have a list of what pitfalls
>we might encounter.
A good place to start is with the porttool utility which came with that
compiler. I found it to be rather flaky - many errors when trying to run it.
But you can use it via the "Port", "Background" menu to examine
a source module for possible porting issues. It will add comments to
the source code silently, so be sure to use a copy. Check the source
module for any issues reported. A visual examination of the porttool.ini
file will reveal the things it's looking for.
You should also have a copy of the Online Books with that compiler.
(DynaText) Chapter 7 of the Programmer's Guide has a section on
"32-bit Windows programming", and on "Writing portable Windows code".
The Microsoft Developer Network web site should have articles on
converting from Win16 to Win32. Many textbooks have examples as
well.
One thing to bear in mind is that there are differences between the
various Win32 platforms as well. e.g. - Win95/98, WinNT/2K, WinME,
WinXP. These differences may affect your conversion, especially if
you expect to run your app on diverse Win32 platforms.
Keep in mind that 4.53 only (barely) supported Win95, and WinNT 3.x.
The Windows headers and import libs won't provide access to all of
the features added in later Win32 releases.
--
Wayne A. King
(ba...@torfree.net, wayne.k...@ablelink.org,
wak...@idirect.com, Wayne_A_K...@compuserve.com)