Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!uw-beaver!milton!sumax!polari!rwing!seaeast!sunbrk!Usenet From: Calsyn.Martin.Robert@sunbrk.FidoNet.Org (Calsyn Martin Robert) Newsgroups: comp.windows.ms.programmer Subject: Is windows running? Message-ID: <675518012.74@sunbrk.FidoNet> Date: 29 May 91 00:25:32 GMT Sender: Usenet@sunbrk.FidoNet.Org Lines: 17 For the purpose of writing an alternative WINSTUB.EXE, I need to be able to detect whether windows is running. That is, how does a program detect whether it is running in `native' MS-DOS or in an MS-DOS window? email direct and I'll post a summary -- any programming environment is fine (MSC, BORLAND, asm, etc...). Thanks... -- Martin R. Calsyn martin@iastate.edu Project Vincent Systems Support gg.mrc@isumvs.bitnet Iowa State University Computation Center voice: (515) 294-9889 Ames, Iowa 50011 fax: (515) 294-1717 * Origin: Seaeast - Fidonet<->Usenet Gateway - sunbrk (1:343/15.0)