From: robk AT cyberway DOT com DOT sg (Rob Kramer) Newsgroups: comp.os.msdos.djgpp Subject: IRQ callback wrapper? Date: Thu, 17 Sep 1998 17:43:06 +0800 Message-ID: Organization: Infologic Pte Ltd Reply-To: robk AT cyberway DOT com DOT sg NNTP-Posting-Host: 203.116.128.87 Lines: 19 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi all, I'm using _go32_dpmi_allocate_real_mode_callback_retf() to allocate a callback wrapper. Can anyone tell me if it is a terrible sin not to free that wrapper before exiting my program? I.e. will it be freed automatically by the DPMI host, the same way allocated memory is released? I don't terminate my DPMI host (cwsdpmi) after that, by the way, it is loaded as a TSR. (switches: -p -s-) And what about memory that I locked, do I have to unlock it? I'm experiencing weird crashes of things that I run after my program has finished. Running the same program twice won't always work either. Thanks! Rob Kramer robk AT cyberway DOT com DOT sg