DmGetResource should be matched with DmReleaseResource. I haven't looked at the address app code, but maybe you haven't looked hard enough.
Matt ----- Original Message ----- From: "George Bassili" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Tuesday, September 03, 2002 4:38 PM Subject: DmGetResource and DmReleaseResource > Hi everyone, > > I've noticed in the code for the address app, there are dmgetresource calls > without dmreleaseresource calls. > Is this okay? When yo ucall MemHandleUnlock doexz it release the resource > as well? > > I am talking about the function EditViewInit and the line > > FieldMap = (const > AddressFields*)MemHandleLock(DmGetResource(fieldMapRscType, FieldMapID)); > > I cannot find a dmreleaseresource > > Also what do they mean when they talk about overlays ? > > Rgds, > George B. > > > > > > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
