| The simple answer is no, you can't use VC++ 4.x to develop 16-bit
applications.
The closest I've come was creating a project under V1.x, saving
a copy of the .MAK file, then opening the project under V4.x
and converting the 16-bit .MAK file to a 32-bit version. With
some judicious #ifdef _WIN32 conditionals around the appropriate
code, I could build a 32-bit version of the project via the IDE
(and debug it there), while still being able to use the 16-bit
version of the .MAK file to build a 16-bit version via an NMAKE
command (NMAKE /f 16-bitmakefile).
This took quite a bit of juggling the path and the INCLUDE and LIB
environment variables, but it *did* work.
Of course, you had to pay a *lot* of attention to differences in
MFC implementations between VC++ V1.x and V4.x. If you're careful
to keep the V1.x implementation of MFC in mind as you write code
the resulting project *should* be backwards transportable to the
16-bit implementation of MFC.
But it's a lot of work. Are you sure there's a real need for a
16-bit app?
|