Article View: comp.os.os2.programmer
Article #3142_a_msg_exit
From: Marc Cohen 8/443-3945
Date: Wed, 22 May 1991 18:24
Date: Wed, 22 May 1991 18:24
13 lines
1123 bytes
1123 bytes
>_a_msg_exit() is one of those nasty procedures that MS put in that kills
>your program when it does something nasty. Another example: do a divide
>by zero in a PM program. You don't get a trap, you don't get any beeps,
>you get nothing. Your application just disappears ("Look ma, no
>hands!")! Check your code, and variable values, and make sure that
>nothing is done in any thread that might be considered "naughty".
Actually, __amsg_exit does place an error message out on standard
output. Unfortunately, standard output for a PM program is the bit
bucket, unless you redirect it. (Actually, maybe it's standard error!
Whichever; same difference. The effect is the same.)
Marc L. Cohen vnet: MLCOHEN at BCRVMPC1
internet: mlcohen@bcrvmpc1.vnet.ibm.com
Technical Details
Message-ID:
<9105221808.AA25236@grape.ecs.clarkson.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!clarkson!BCRVMPC1.vnet.ibm.com!MLCOHENShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!clarkson!BCRVMPC1.vnet.ibm.com!MLCOHEN Message-ID: <9105221808.AA25236@grape.ecs.clarkson.edu> Date: Wed, 22 May 91 14:24:28 EDT From: Marc Cohen 8/443-3945 <mlcohen@bcrvmpc1.vnet.ibm.com> Subject: _a_msg_exit Newsgroups: comp.os.os2.programmer