TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Erik Huelsmann
from: Rick Suntag
date: 1994-11-16 15:22:04
subject: DosExecPgm & DosStartSes

In a message to All , Erik Huelsmann writes:

 EH> Hello All,
 EH> 
 EH> Is there anyone that can explain to me which of these functions I
 EH> should use?
 EH> 
 EH> I want to use them to start an application, to run either 
 EH> simultaniously, or as a shell from my program, but when do  I need to
 EH> use DosExecPgm and when do I need to use  DosStartSession. (For now I
 EH> only write VIO-applications,  but that could change soon.)
 EH> 
 EH> What are the restrictions to the usage of either of these functions?

DosExecPgm can be used to run a program in the same window / full screen
session. It can run in sync mode (the calling program stops until the called
program terminates) or it can run async (both at the same time).  It can
also run in the background (no I/O).  DosStartSession will start your
program in another window (or full screen).  


 ---
 Bacteria: The only culture some people have.
  * PmQwk 32! 1.00b08c (NR)*
--- Maximus/2 2.02

* Origin: OS/2 Shareware BBS, Fairfax, VA: 703-385-4325 (1:109/347)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1
@PATH: 109/347 2 7 3615/50 229/2 12/2442 711/409 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.