Obsolete Keywords

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to compile old 16-bit C code in VC++2.0. I am running into errors
using the header file graph.h. This is a microsoft file that uses the
keywords '__far' and '__huge'. Is there a way to replace these keywords or
the entire header file itself for 32 -bit applications?
 
phinz_fan said:
I am trying to compile old 16-bit C code in VC++2.0. I am running into errors
using the header file graph.h. This is a microsoft file that uses the
keywords '__far' and '__huge'. Is there a way to replace these keywords or
the entire header file itself for 32 -bit applications?

Well, you may be able to do something like this:

#define __far
#define __huge

which will render the obsolete keywords invisible.

Sadly, there is often much more to a Win16 to Win32 port than pushing the
obsolete keywords out of your way.

Regards,
Will
 
Back
Top