www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/31/20:34:52

Message-ID: <37CC157D.10D97BDE@unb.ca>
From: Endlisnis <s257m AT unb DOT ca>
X-Mailer: Mozilla 4.61 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: SV: SV: Icons...
References: <37CA614E DOT 663B7A5D AT cc DOT umanitoba DOT ca> <7qfpe3$g82$1 AT solomon DOT cs DOT rose-hulman DOT edu> <37CBB744 DOT BF04C602 AT cc DOT umanitoba DOT ca> <PEQy3.45$aU8 DOT 171044864 AT newsb DOT telia DOT net> <37CBF75A DOT 2C063F1 AT unb DOT ca> <bmUy3.79$RB5 DOT 170715648 AT newsa DOT telia DOT net>
Lines: 27
Date: Tue, 31 Aug 1999 17:48:43 GMT
NNTP-Posting-Host: 207.179.152.24
X-Trace: news20.bellglobal.com 936121723 207.179.152.24 (Tue, 31 Aug 1999 13:48:43 EDT)
NNTP-Posting-Date: Tue, 31 Aug 1999 13:48:43 EDT
Organization: Sympatico
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> > > Yes it is possible. But icons are Windows features,
> > > not supported by DOS. DJGPP is a DOS complier.
> >     I've seen programs that ran in real dos, and had imbedded icons that
> > windows would display (scorched earth).

Christian von Schultz wrote:

> I didn't know that.
> Can you tell me how?

    I don't know how, if I had to GUESS:
Win32/Win16 programs, when run from real DOS would either say "This program
requires windows" or some older ones would load windows.  So they have some
sort of stub that checks to see if Windows is loaded and does something
different in each case.  So, what Scorched Earth probably did was:

The executable was probably a Win16 executable with the proper icon table, but
in both cases (if windows is loaded or not) it would run a DOS executable that
was embedded inside the Win16 executable.

--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT HotMail DOT com
          ICQ: 32959047


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019