[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference 7.286::visualc

Title:Microsoft Visual C/C++
Moderator:PLUGH::needle
Created:Tue Mar 16 1993
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1121
Total number of notes:4385

1110.0. "Can I Develope 16 bit applictions using VC++ 4.X?" by IBIS3::TALLURI () Sun Apr 20 1997 19:47

    Can I Develope 16 bit applictions using VC++ 4.X . Or do I need to use
    only VC 1.5X ? 
    
    Since we are used to VC++ 4.X developing environment is there any easy
    way to develop 16 bit applications.
    
    Any help is appreciated
    Thanks 
T.RTitleUserPersonal
Name
DateLines
1110.1Not easilySTAR::DZIEDZICTony Dziedzic - DTN 381-2438Sun Apr 20 1997 23:3723
    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?