Using MemHandleUnlock and MemPtrUnlock is just about identical - of course they take different parameters though. Use whichever is more convenient. I believe that the MemHandleUnlock currently is marginally faster, but not significantly, and that isn't guaranteed to be the case in the future. FWIW, I'd switch your call from DmGet1Resource to DmGetResource - the speed difference will probably be negligable, and it is "safer" in case something else in your app has opened a resource database, or something along those lines. Or if you've just opened a database and want to get a resource from it and it alone, use DmFindResource; that's what DmGet1Resource calls internally anyway. Your app may have a particular reason to use the "1" variety, but most won't. -David Fedor Palm Developer Support
