Thread View: microsoft.public.vc
4 messages
4 total messages
Started by Henry Fleming
Sun, 02 May 2004 04:31
Phar-Lap??
Author: Henry Fleming
Date: Sun, 02 May 2004 04:31
Date: Sun, 02 May 2004 04:31
7 lines
1072 bytes
1072 bytes
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?
Re: Phar-Lap??
Author: dosextender
Date: Mon, 03 May 2004 22:44
Date: Mon, 03 May 2004 22:44
14 lines
1450 bytes
1450 bytes
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?
Re: Phar-Lap??
Author: Henry Fleming
Date: Tue, 04 May 2004 21:03
Date: Tue, 04 May 2004 21:03
26 lines
2243 bytes
2243 bytes
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:<d3270101.0405031444.52f605d7@posting.google.com>... > 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?
Re: Phar-Lap??
Author: dosextender
Date: Thu, 06 May 2004 21:15
Date: Thu, 06 May 2004 21:15
37 lines
2890 bytes
2890 bytes
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:<d3270101.0405031444.52f605d7@posting.google.com>... > > 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?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads