Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!hobbes.physics.uiowa.edu!news.iastate.edu!martin From: martin@iastate.edu (Calsyn Martin Robert) Newsgroups: comp.windows.ms.programmer Subject: Is windows running? Message-ID: <1991May28.192532.21737@news.iastate.edu> Date: 28 May 91 19:25:32 GMT Sender: news@news.iastate.edu (USENET News System) Organization: Iowa State University, Ames, IA Lines: 14 Originator: martin@pv0146.vincent.iastate.edu 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