At 11:10 PM 9/18/2004, you wrote:
What's the maximum size I can initialize a buffer
using MemGluePtrNew?

I was wondering if I can just read the whole contents
of a file and put it in a buffer.  Can I read a big
file, say 2-4 mb?

The size is limited to the largest contiguous region in the dynamic heap. Depending on the device, this could range from 40K to 8MB. It will depend on what other memory allocations are active too.



-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Fourm Archives: http://news.palmos.com/read/all_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