🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms
Article #1949

program lock up upon termination

#1949
From: Gary Kipnis
Date: Thu, 02 Nov 1989 06:23
16 lines
1245 bytes
Hi, I have a program that locks up the system upon termination, 
this happens right after PostQuitMessage(); is executed and the control
should be returned to MS-DOS executive, but instead the computer just 
hangs.  The program seems to work find overall.

A related question, before I quit I free up some memory structures/buffers
that I allocated in LocalMemory, what's the best way to allocate these 
memories, i.e. what flags should be passed to the LocalAlloc?
One of the structures is just a text buffer, about 2k and should not be
moved or anything, it's locked upon creation; the other is a linked 
list/tree each node of which is locked upon creation as well and should
not be moved/touched by windows untill I unlock the nodes and discard them.

thanks for any info,

gary
Technical Details
Message-ID: <32319@ucbvax.BERKELEY.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!janus.Berkeley.EDU!kipnis

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!janus.Berkeley.EDU!kipnis
From: kipnis@janus.Berkeley.EDU (Gary Kipnis)
Newsgroups: comp.windows.ms
Subject: program lock up upon termination
Message-ID: <32319@ucbvax.BERKELEY.EDU>
Date: 2 Nov 89 06:23:15 GMT
Sender: usenet@ucbvax.BERKELEY.EDU
Reply-To: kipnis@janus.Berkeley.EDU (Gary Kipnis)
Organization: University of California, Berkeley
Lines: 16