Hi All !

I have some troubles with MemHandleNew !

UInt32 tb_size = StrLen(MyStr);
UInt8* tb;
MemHandle tb_h = MemHandleNew(tb_size); // here is the problem !
tb = (UInt8*)MemHandleLock(tb_h);
...

everything is OK if tb_size is not too big,
for example if tb_size = 4294952512, then tb_h = NULL, then FATAL ERROR !!

Is there a bug in MemHandleNew ???
If someone have already deal with this problem, some tips or advice would be
very helpfull ;-)

THANKS IN ADVANCE,
Averoes.



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

Reply via email to