On Wed, 2003-03-12 at 09:06, Brad Figler wrote:

> // Assuming an open database
> 1.  Create memory handle using MemHandleNew()

You should use DmNewHandle() to create your new handle.

> 2.  Convert memory handle to localID via MemHandleToLocalID
> 3.  Pass localID to DmSetDatabaseInfo().

These steps are correct.

> I think this is correct, but I am a little concerned because doesn't
> MemHandleNew give me a handle to the dynamic heap?  

Your concern is well-founded. That's why you should use DmNewHandle().

-- 
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to