Sorry for not being explicit. When I say NULL handle, it's something
like:
    VoidHand recordHandle;
    ...
    DmQueryRecord(recordHandle);
Where recordHandle is NULL. This yelds the kind of error you are
getting, and  has nothing to do with memory allocation.

You need to free all memory you allocate dynamically, although if you
don't, PalmOS will do it for you upon exit from the app. Anyway it's a
protection mecanism, so you shouldn't rely on it.

--
Sergio Carvalho
---------------
[EMAIL PROTECTED]

If at first you don't succeed, skydiving is not for you


Reply via email to