www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/17/07:30:10

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: <MPG.106b5a86e2f92b14989681@news.cyberway.com.sg>
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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019