TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Gautam Lad
from: Mike Phillips
date: 1996-12-12 04:02:28
subject: Re: DosStartSession rc=191 for DOS

-10 Dec 96  02:16:50-
=Gautam Lad babbled to **Anybody** about DosStartSession rc=191 for DOS=

 GL> sdata.SessionType = 2;

 GL> Here, if the program (Executable) is a DOS program, the program
 GL> returns an error 191 for rc (the ERRORBUF messagebox).  It works find
 GL> for OS/2 Text-Mode apps.  Oh, and all I plan on doing is launching
 GL> Text-Mode sessions (that's what is recommended). 

It fails on a DOS program because you told it to execute an OS/2 text
mode program in a window!  Use 7 for Windowed VDM's and 3 for
Presentation Manager apps.

Mike Phillips
INTERNET:  phil4086{at}utdallas.edu

... Liberals say: Give us more money, and we'll protect you better.
--- FMail 1.0g
* Origin: oOo The Pit Viper oOo (1:124/2145)
SEEN-BY: 50/99 270/101 620/243 625/160 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/317 800/1
@PATH: 124/2145 2342 1 396/1 270/101 712/515 711/808 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™.