🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How do you know if you're the shell?

#1185
From: John Munsch
Date: Wed, 30 Jan 1991 16:56
13 lines
1100 bytes
In article <11282.9101281311@hilliard.ecs.soton.ac.uk> I.Heath@ecs.soton.ac.uk (Ian Heath) writes:
>	The subject line speaks for itself. I've been trying to get
>backmenu to replace program manager as the startup shell for windows.
>The problem is in determining if it is being started up as the shell
>or if it is just being run as an application (I need to know this as I
>need to know whether to process the run= and load= lines in win.ini or
>not).

The info you want is in the TIPS.TXT file that the SDK install dumped in your
SDK directory.  Basically all you do is call GetNumTasks() in order to find
out if anybody else is running.

John Munsch
Technical Details
Message-ID: <27130@spudge.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!evax!utacfd!merch!spudge!johnm
References: <11282.9101281311@hilliard.ecs.soton.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!evax!utacfd!merch!spudge!johnm
From: johnm@spudge.UUCP (John Munsch)
Newsgroups: comp.windows.ms.programmer
Subject: Re: How do you know if you're the shell?
Message-ID: <27130@spudge.UUCP>
Date: 30 Jan 91 16:56:01 GMT
References: <11282.9101281311@hilliard.ecs.soton.ac.uk>
Reply-To: johnm@spudge.UUCP (John Munsch)
Organization: Friends of Guru Bob
Lines: 13