Subj : Re: Phar-Lap?? To : microsoft.public.vc,borland.public.cpp.borlandcpp From : extenddos Date : Tue May 11 2004 06:17 am You may also consider contacting Venturcom at www.vci.com. They acquired the Phar Lap DOS Extender products a few years back. It should be relatively easy to port the 286|DOS-Extender, however I'm not so sure about the cscape portion, as I have not worked/seen their API. ph8794@yahoo.com (Henry Fleming) wrote in message news:<90cc3865.0405081456.6f0f60e6@posting.google.com>... > I need to get the application working on Windows XP. Unfortunately it > hangs sometimes when running on XP. It works fine on Windows 3.11, > for which it was originally written. So I tried to recompile the code > with a 32 bit compiler. That did not work due to reasons given. The > application depends on C-scape for the user interface and on Phar-Lap > Dos Extender for the computers and OS's of 1994. > > So I'm taking the somewhat lengthy but instructive step of rewriting > the application in Win32. > > extenddos@yahoo.com (dosextender) wrote in message news:... > > 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? .