Hal Mueller wrote:
>At 11:49 AM -0800 1/18/02, [EMAIL PROTECTED] wrote:
>>Q1 - When I run the HelloWorld sample application (that I built using
>>the GCC development environment under Windows) in POSE and tap the menu
>>button, I get an error indicating that the menu resource cannot be
>>found.  Where should I be looking for the problem?
>
>Probably your form/menu definitions--menu ID defined for the form? 
>Does that menubar exist?  Might be you have a menu defined but not 
>the menu bar?

Since you (Hal) use CodeWarrior Constructor and I use GCC/PilRC, I am
not sure if you would know if my .rcp file is correct.  However, I'll
go through what is in the file anyway - the FORM section for the initial
(and only) form has a MENUID field that refers to the menu bar and the
referred to menu does exist.  This is all I need to link the form to the
menu, right?

>>Q2 - Are local variables always put on the stack, in particular arrays?
>>Do these arrays need to be locked down (or prepared in some other way)
>>before being used?  What about arrays that are global?  I am getting
>>some bad reads that I suspect are from some arrays in my code.
>
>They're on the stack, but not in arrays.  No locking down is 
>necessary.  If the arrays are large and local, you might overflow 
>stack, though.

What about global variables?  I have a static int array (with 60
elements) that is global and I think when my code accesses that array is
when POSE lets me know that I am doing something wrong.

alan




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

Reply via email to