This is a set of API's that can be called from DOS C programs
to access event semaphore and start session functions under OS/2
2.1.  Using a semaphore with the start session command is one
technique that DOS can call an OS/2 program and wait for it to 
complete.  This technique can be used as an OS/2 "stub" program
used when linking to run an OS/2 program from DOS without the
message indicating that the program can only execute under OS/2.
Example program STARTSES.C is included.  Tested using Borland 
C++ 3.1 for DOS and IBM First Step C++ for OS/2.

No claims to being bulletproof but want to share fruits of effort
in trying to migrate Desqview API's to OS/2.  Let me know how it
works.

John Byrne
76244,1657


