This must be the case.  I went in to PalmOS Simulator and adjusted the
dynamic heap size up to 2048kb.  I am developing game software intended for
OS5 devices.  Would it be safe to assume such devices will have that kind of
available heap size?

-----Original Message-----

WinCreatOffscreenWindow returns one of the three error codes.

errNone: No error.
sysErrParamErr: The width or height parameter is NULL or the current color
table is invalid.
sysErrNoFreeResource: There is not enough memory to complete the function.

It is wired to understand the number, just test it with an if / switch
statement. You should do it like this anyway. ;-) 
 
I guess it is the memory / resource one. Storage is very limited. I used
WinCreateOffscreenWindow to prepare Bitmap exports and ran into memory
problems soon. In the end I tested the free memory in advance and calculated
the maximum size afterwards. I remember that genericFormat is the format
that uses up most memory...

Grüße, Harald

-
http://www.gps-laptimer.de

 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.10.19/917 - Release Date: 7/25/2007
1:16 AM
 


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to