kipnis@janus.Berkeley.EDU (Gary Kipnis) (11/02/89)
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