> I found my problem.
great :>
> It turns out that I have my emulator set for 1 MB or
> RAM. Because of this, the WinCreateOffscreenWindow fails. If I start the
> emulator with more memory, then It works just fine. I'm just curious if this
> program will have problems with Palms with low memory (only 1 meg free on an
> 8 meg device) or not. I seem to recall that PalmOS 3.5 will set aside more
> heap if the device has 8 MB or RAM, regardless of the free space. Any
> comments?
hhehe.. yeah.. that makes sence, i guess you could check if the function
returns NULL? i guess everyone was assuming it works fine. put that
check in and you should be fine :>
as for ram? you can only install 3.5 on devices with flash, and at the
moment - ALL have at least 2Megs of ram :>
i do not think palm or anyone else would be crazy enough to release a
new device with anything < 8Mgs these days :> as for the heap, i think
the OS initializes it on startup. so if you have a 8Meg device, it will
research XXXXKb for the heap from day one the device is turned on. you
will not be able to write over this :> - it is exactly the same for
existing devices..
ie: a 2Meg (2048k) device reporting 1920k free on a RAW install.
cheers.
az.
--
Aaron Ardiri
Java Certified Programmer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 656 1143 A/H: +46 8 668 78 72
if you enjoy it, then it aint work :) - rule #106 of life
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html