🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms
Article #2111

Re: How to start up Windows with an application ?

#2111
From: Bill Turner
Date: Wed, 06 Dec 1989 19:48
18 lines
1423 bytes
> If you examine the DEF file for most Windows programs you will see a line like:
> 	STUB 'WINSTUB.EXE'.
> This line tells the linker to add the program WINSTUB.EXE to the beginning of
> the old-EXE file header.  Since DOS only knows about the old style EXE header
> this program will be run.  In the case of WINSTUB.EXE it just displays the
> message telling you that you must load Windows first.  If you want to have
> Windows automatically started you will need to replace WINSTUB.EXE with your
> own stub program which would start Windows for you.

I have written such a critter, and am willing to share it.  Unfortunately, I
can't seem to find the source for it, but I have the executable.  If there's
enough interest, I can post it; otherwise drop me a line.

(The program was simply a call to exec with argv[0] as the program name.  At
least that's what my memory seems to recall....)

--Bill Turner (bturner@hp-pcd.hp.com)
HP Corvallis Information Systems
Technical Details
Message-ID: <106580074@hpcvlx.cv.hp.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvlx!bturner
References: <5443@ncrcae.Columbia.NCR.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvlx!bturner
From: bturner@hpcvlx.cv.hp.com (Bill Turner)
Newsgroups: comp.windows.ms
Subject: Re: How to start up Windows with an application ?
Message-ID: <106580074@hpcvlx.cv.hp.com>
Date: 6 Dec 89 19:48:21 GMT
References: <5443@ncrcae.Columbia.NCR.COM>
Organization: Hewlett-Packard Co., Corvallis, OR, USA
Lines: 18