🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: microsoft.public.vc
Article #1

Re: Phar-Lap??

#1
From: Henry Fleming
Date: Sat, 08 May 2004 22:56
48 lines
3629 bytes
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:<d3270101.0405061315.1a6b64e7@posting.google.com>...
> 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?
Technical Details
Message-ID: <90cc3865.0405081456.6f0f60e6@posting.google.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!postnews1.google.com!not-for-mail
References: <90cc3865.0405012031.328e4ab@posting.google.com> <d3270101.0405031444.52f605d7@posting.google.com> <90cc3865.0405041303.3767657c@posting.google.com> <d3270101.0405061315.1a6b64e7@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f4307,fe43f8ed1a721c73
X-Google-Thread: fa69e,102a3caa7d346477
X-Google-Attributes: gidf4307,gidfa69e,public
Path: arc1-ca.pugleaf.net!controlnews3.google.com!postnews1.google.com!not-for-mail
From: ph8794@yahoo.com (Henry Fleming)
Newsgroups: microsoft.public.vc,borland.public.cpp.borlandcpp
Subject: Re: Phar-Lap??
Date: 8 May 2004 15:56:13 -0700
Organization: http://groups.google.com
Lines: 48
Message-ID: <90cc3865.0405081456.6f0f60e6@posting.google.com>
References: <90cc3865.0405012031.328e4ab@posting.google.com> <d3270101.0405031444.52f605d7@posting.google.com> <90cc3865.0405041303.3767657c@posting.google.com> <d3270101.0405061315.1a6b64e7@posting.google.com>
NNTP-Posting-Host: 69.138.18.120
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1084056974 1558 127.0.0.1 (8 May 2004 22:56:14 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 8 May 2004 22:56:14 +0000 (UTC)