array size and fatal alert

2006-08-18 Thread kaineu
I'm working with global variables in a shared library. I placed an array of 
structures in the global variable. I defined the size of my array and when I 
run the program there was a fatal alert that popped out. I tried testing some 
things and I found out that if I decrease the size of my array, the error would 
not pop out.

run68k.c, Line:2306, Invalid write to 0002

the "0002" would vary. and I believe the Invalid write was sometimes 
invalid read? 

What does this mean?
what's the problem with a large array size?
how can I prevent this error from coming up?
How should I handle it so there would be no problem?
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: Bitmaps in Resuorce???

2006-07-23 Thread kaineu
thanks for the help. it worked. I tried using WinCreateBitmapWindow instead of 
WinCreateOffscreenWindow and it worked.
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Is there a way to store a bitmap file from memory card to the resource?

2006-07-23 Thread kaineu
I'm trying to read a bitmap file from a memory card using VFSMgr. Can I store 
the bitmap into the resource? is it possible?
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Bitmaps in Resuorce???

2006-07-20 Thread kaineu
I'm trying to retrieve the data of Bitmap files in the Resource. how do I do 
that?? I'm not sure what to use. I was able to get the pointer to the 
BitmapType using DmGetResource, but after that I don't know how to access the 
bytes of the image. What do I need to do? I need the data of the bitmap to 
display the bitmap pixel by pixel on screen.
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


SysLibTblEntry in SystemMgr.h, is it still being used or has it been deleted?

2006-06-25 Thread kaineu
I had an Error saying that SysLibTblEntry(...) was undefined. Is the function 
still existing? or has it been deleted?
How do I use SysLibTblEntry in PNO? could I use it by the way?
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/