Not sure, but you might make sure you are calling FrmCloseAllForms before your program exits. Also, make sure you're not setting handled to true for frmCloseEvent's. If you're using FrmPopupForm, you should also make sure you are returning to the correct form with FrmReturnToForm(0). Hope that helps. -Cory
JAMES S HAINES wrote: > Can anyone give me a lead as to what might be causing these leaks. I > think it might have to do with loading the form handled by > "frmCogoFile_HandleEvent" since none of the controls on the form work > after > it is drawn. The debugger gets to the end of this function then hangs up. > I've compared it to other programs I've written and the code is identical > to loading other forms that work fine. > Thanks in advance, > Jim Haines > > Relocatable chunk leaked at 0x00002AE6, size = 40 > 0.000: Chunk allocated by: > 0.000: WinCreateBitmapWindow > 0.000: WinCreateOffscreenWindow > 0.000: WinSaveBits > 0.000: FrmDrawForm > 0.000: frmCogoFile_HandleEvent > 0.000: PrvSendEventToForm > 0.000: FrmDispatchEvent > 0.000: EventLoop > 0.000: PilotMain > 0.000: <Unknown @ 0x0009A4A8> > 0.000: Chunk contents: > 0.000: 00 00 00 00 00 00 00 00 41 00 00 00 00 00 00 86 ........A....... > 0.000: 00 68 00 00 00 00 00 85 00 67 00 03 88 CA 00 00 .h.......g...... > 0.000: 00 03 DF D4 00 00 2A 18 ..ß...*. > 0.000: -------------------------------------------------------- > 0.000: Non-relocatable chunk leaked at 0x000388CA, size = 3246 > 0.000: Chunk allocated by: > 0.000: BmpCreate > 0.000: WinCreateOffscreenWindow > 0.000: WinSaveBits > 0.000: FrmDrawForm > 0.000: frmCogoFile_HandleEvent > 0.000: PrvSendEventToForm > 0.000: FrmDispatchEvent > 0.000: EventLoop > 0.000: PilotMain > 0.000: <Unknown @ 0x0009A4A8> > 0.000: Chunk contents (first 256 bytes only): > 0.000: 00 86 00 68 00 86 80 00 08 02 00 00 00 00 00 00 ...h............ > 0.000: 0C 9C FF 01 01 CA CA 01 01 CA CA FF 01 CA 01 CA ................ > 0.000: 01 CA 01 CA FF CA CA 01 01 CA CA CA 01 FF CA 01 ................ > 0.000: 01 CA CA 01 01 CA FF CA CA 01 01 01 01 01 01 FF ................ > 0.000: 00 00 00 00 00 00 00 00 FF 00 00 00 00 00 00 00 ................ > 0.000: 00 FF 00 00 00 00 00 00 00 00 FF 00 00 00 00 00 ................ > 0.000: 00 00 00 FF 00 00 00 00 00 00 00 00 FF 00 00 00 ................ > 0.000: 00 00 00 00 00 FF 00 00 00 00 00 00 00 00 FF 00 ................ > 0.000: 00 00 00 00 00 00 00 FF 00 00 00 00 00 00 00 00 ................ > 0.000: FF 00 00 00 00 00 00 00 00 FF 00 00 00 00 00 00 ................ > 0.000: 00 00 FC 00 00 00 00 00 00 77 CA 01 01 CA 01 01 ..ü......w...... > 0.000: 30 CA 01 EA 01 01 CA 01 01 3C CA 01 01 CA E0 01 0........<...... > 0.000: 01 CA 00 00 00 00 00 00 00 00 00 00 00 00 60 01 ..............`. > 0.000: CA 20 01 00 00 00 00 00 00 00 00 00 00 00 00 00 . .............. > 0.000: 00 00 30 01 CA 00 00 00 00 00 00 00 00 00 00 00 ..0............. > 0.000: 00 00 00 00 00 77 CA CA 01 01 CA CA 00 E6 CA CA .....w.......... -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/