On Tue, 19 Mar 2002, Matt Hebley wrote: > You definitely don't want to do the last MemHandleFree since you didn't > call MemHandleNew. You were just assigned a handle to one of the records > in your database. You do want to MemPtrFree on the itemList, however, > you want to do this *after* you (and the list manager) have finished > using it. You will have to figure out the best place to do this. > Probably when processing your frmCloseEvent event (assuming you only > call the above function when processing the frmOpenEvent).
The question arises, though, why a list draw callback function isn't being used. It seems like that would be a lot more efficient, at least in terms of memory. You would have to worry about cleanup, then, either. ----------------------------------------------------------------------- Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/ Software Developer // Gamer // Webmaster // System Administrator Friends don't let friends wear Speedos. Ever. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
