[comp.windows.ms.programmer] Is windows running?

martin@iastate.edu (Calsyn Martin Robert) (05/29/91)

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

Calsyn.Martin.Robert@sunbrk.FidoNet.Org (Calsyn Martin Robert) (05/29/91)

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)