| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Force close a MDOS session |
MG> Hello again, MG> I have another basic OS/2 question. What is the function (in C) to MG> tell the current MDOS session to shutdown immediately? MG> The idea I'm working on here is something like a MG> TSR in a MDOS session MG> that will look for an event then *force* the MDOS session to close. If you can do assembler, the following asm will close an MSDOS session under OS/2 in a "well-behaved" manner (without a trap): 0100 B44D MOV AH,4D 0102 CD21 INT 21 0104 F4 HLT 0105 02FD ADD BH,CH --Is your TSR going to watch for a semaphore from an OS/2 program? Been there, done that, decided all 32-bit code was even better. Too bad so much is still DOS/Windows. --- Maximus/2 3.01* Origin: Cuerna Verde BBS (1:307/3) SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955 SEEN-BY: 712/407 515 517 628 713/888 800/1 @PATH: 307/1 3615/50 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™.