Ok, i was talking about allocating memory using
MemChunkNew with storage heap ID. This works
on emulator but not on real device.
I need to have a pointer access.


----- Original Message -----
From: "Ben Combee" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, January 29, 2003 1:23 PM
Subject: Re: Memory allocation


> At 12:21 2003-1-29 +0100, you wrote:
> >Hi,
> >
> >Is there a way to allocate memory on the storage heap ?
>
> DmNewHandle
>
> >It works on the emulator but not on a real device perhaps due
> >to unlocked storage heap (on Simulator it's possible to lock/unlock it).
>
> This will work on any device running Palm OS 3.0 or later, but you will
> need to use DmWrite to modify the memory handle you get back after locking
it.
>
> --
> Ben Combee <[EMAIL PROTECTED]>
> CodeWarrior for Palm OS technical lead
> Palm OS programming help @ www.palmoswerks.com
>
>
> --
> 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/

Reply via email to