At 09:30 AM 11/11/99 +0100, you wrote:
>I'm posting this question again because I still got no answer. I can't
>belive that nobody knows about it. On the other hand, I apologize if the
>question is that stupid that it couldn't attract anyone's attention, but
>it's not the worst thing that was posted to this forum for sure...
>
I don't know the official response, but I've been doing this sort of thing
without complaint for many moons now:
hRec = DmGetRecord(db, idx);
if (MemHandleSize(hRec) != size_needed)
{
DmReleaseRecord(db, idx, false);
hRec = DmResizeRecord(db, idx, size_needed);
}
ptr = MemHandleLock(hRec);
// do stuff
MemPtrUnlock(ptr);
DmReleaseRecord(db, idx, modified);