If I take the same code to Code Warrior I get the
error "Application has overflowed the stack".

But if I copy following in my .r file it just works
fine. 

type 'pref' {
 integer priority;
 longint stackSize;
 longint minHeapSpace;
 };

resource 'pref' (0) {
 30,
 0x8000,    // 32K 
 0x8000,    // 32K  
};


Thanks.
 
--- N wrote:
> Even if I put:
> 
> SYSAPPLICATIONPREFERENCES ID 0 PRIORITY 30 STACKSIZE
> 0x8000 MINHEAPSPACE 0x8000
> 
> It does not increase my stack size and I get error
> "stack size is about to get full"
> 
> In pilrc manual it says "This resource is system
> reserved. " What does it mean.  
> After I add this line in my .rcp file should I do
> anything else to increase stack size.
> 
> In one of the previous postings  John said it can be
> added in .def file also.  
> http://www.escribe.com/computing/pcpqa/m63809.html
> 
> So should I add 
>      "SYSAPPLICATIONPREFERENCES ID 0 PRIORITY 30
> STACKSIZE 0x8000 MINHEAPSPACE 0x8000"
> as is in my .def.
> 
> Thanks in advance.
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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

Reply via email to