TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Michael Gleason
from: Ville Nummela
date: 1996-05-31 11:58:00
subject: Force close a MDOS sessio

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 TSR in a MDOS session
 MG> that will look for an event then *force* the MDOS session to close.

I don't know much about C, but a little bit inline asm should do the trick;
You just have to jmp ffff:0000.

      -=ViGe/gasp inc./MAG=-

... Computer, delete WESLEY.EXE - Entire Enterprise crew.

--- GEcho 1.00
* Origin: The Ultimate Nightmare +358-17-6183791,24h,v.34 (2:221/125)
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: 221/125 0 220/841 201/2104 109/347 18 13/25 396/1 270/101 712/515
@PATH: 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™.