Subj : Re: Phar-Lap?? To : microsoft.public.vc,borland.public.cpp.borlandcpp From : extenddos Date : Thu May 06 2004 03:15 pm You will need to use the Win32 header files only. The 286 DOS-Extender is a 16 bit environment, so header files will not interchange. The C-Scape library will probably only work in 16-bit protected mode (or even real mode I'm not sure how it was built). Win32 has its own native GUI and API. I'm not sure how your application works or how much of it depends on the DOS-Extender / C-Scape. Why do you need to rebuild it? ph8794@yahoo.com (Henry Fleming) wrote in message news:<90cc3865.0405041303.3767657c@posting.google.com>... > I did try to rebuild the application with a 32-bit compiler, but it > wasn't successful. I tried to compile it without changing any code. > The compiler complained about some typedefs already being defined, and > didn't like the "typedef BYTE huge *ptr" declaration used in many > files. Another thing about this application that I didn't mention is > that it uses the C-SCAPE graphical library, and the compiler didn't > like some of the code in there either. I have a feeling that it would > take a very long time to fix the problems associated with this. > > Should I just rewrite the application in Win32? > > extenddos@yahoo.com (dosextender) wrote in message news:... > > Yes you can rewrite the application to use the Win32 Native 32-bit > > API. > > > > I would rebuild the application with a 32 bit compiler and replace all > > OS2/Phar Lap API with their native equivalent. > > > > ph8794@yahoo.com (Henry Fleming) wrote in message news:<90cc3865.0405012031.328e4ab@posting.google.com>... > > > Hi > > > I'm trying to port a 16-bit DOS application to Windows XP. > > > The program uses PharLap 286 extender. Can I discard this when I > > > write the Windows XP version? > > > > > > Also, what is the best way to go about converting 16-bit DOS > > > application to Windows XP version? .