Hi, anybody knows how I would write a Control Break handler for EDIT 0.5b ? The problem is that EDIT must call StopMsg() in DIRECT.C before it exits, or interrupts will be left dangling and the system will crash soon after you left EDIT.
Sorry, MESSAGE.C, not DIRECT.C ... However, in order to trigger StopMsg, you must send a "STOP" message, which looks like: PostMessage(NULL, STOP, 0, 0); Alternatively, you could call StopMsg() directly or even restore the int vectors directly. Whatever you do, it must be done in order to prevent havoc after somebody pressed Ctrl-C / Ctrl-Break in EDIT. I guess there is a standard way to implement this, but I do not know it. Please provide me some clues, or better, provide an improved MESSAGE.C for EDIT... Thanks!! Eric. ---------- list options/archives/etc.: http://www.topica.com/lists/fd-dev unsubscribe: send blank email to: [EMAIL PROTECTED] ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bz8Rv5.bbRv4l.YXJjaGl2 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================
