🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2269

Re: Win and Non-Win Programs in One File?

#2269
From: Bruce Wright
Date: Sun, 28 Apr 1991 17:08
15 lines
1263 bytes
In article <1059@stewart.UUCP>, jerry@polygen.uucp (Jerry Shekhel) writes:
> Hello.  I've developed a Windows game that I'll be uploading shortly to
> the archive sites.  I've got a question for a future version:
> 
> If I develop a DOS/VGA version of my game, is it possible to use it as
> the stub to be bound with the Windows version?  I just thought it would
> be kind of cool to have one .EXE that can run in Windows or plain DOS.

This can be done without any particular problems.  It might even
be possible to share some code in the .EXE file between the two 
programs, but it would be awkward and probably not worth it unless 
it was really big and the routines in question didn't have to call
any Windows functions.

						Bruce C. Wright
Technical Details
Message-ID: <1991Apr28.170823.22263@rti.rti.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!uflorida!gatech!mcnc!rti!bcw
References: <1059@stewart.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!uflorida!gatech!mcnc!rti!bcw
From: bcw@rti.rti.org (Bruce Wright)
Newsgroups: comp.windows.ms.programmer,comp.lang.pascal
Subject: Re: Win and Non-Win Programs in One File?
Summary: Windows and DOS in the same file
Message-ID: <1991Apr28.170823.22263@rti.rti.org>
Date: 28 Apr 91 17:08:23 GMT
References: <1059@stewart.UUCP>
Distribution: comp
Organization: Research Triangle Institute, RTP, NC
Lines: 15