Article View: comp.os.os2.programmer
Article #3146Starting a (PM) program
From: Kenneth A. Kahn
Date: Thu, 23 May 1991 10:47
Date: Thu, 23 May 1991 10:47
10 lines
899 bytes
899 bytes
For one thing the define for your file is incorrect. It should be: #define START_PROGRAM "c:\\bin\\pmview.exe" Note the use of double slashes "\\" which are required by C. Another thing to consider is the type of the program making the DosExecPgm call. This API can be used only to start a program of the same type as yours; i.e. you can only start a PM program from another PM program, a Full Screen program from a Full Screen program, etc.. If you want to start a PM program from a Full Screen or VIO Window program you need to use DosStartSession.
Technical Details
Message-ID:
<9105231034.AA07438@grape.ecs.clarkson.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!clarkson!PKSMRVM.vnet.ibm.com!KENKAHNShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!clarkson!PKSMRVM.vnet.ibm.com!KENKAHN From: kenkahn@pksmrvm.vnet.ibm.com (Kenneth A. Kahn) Newsgroups: comp.os.os2.programmer Subject: Starting a (PM) program Message-ID: <9105231034.AA07438@grape.ecs.clarkson.edu> Date: 23 May 91 10:47:53 GMT Lines: 10