Porting Applications

The following sections describe general areas of code you need to modify when porting a 16-bit application to Win32. These areas include the following:

  • Window procedure declarations

  • Near and far type declarations

  • Data types

  • Messages

  • Calls to API functions

  • WinMain function

If your application uses advanced techniques, such as manipulating the WIN.INI file, focus, and mouse capture, you may need to consult the section Special Considerations for Advanced Applications.