View Single Post
  #2   Spotlight this post!  
Unread 01-28-2009, 09:04 AM
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,069
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: cRIO Application Loader Issue

If you are declaring your members using:

Joystick rightStick(2);

instead of:

Joystick *rightStick = new Joystick(2);

then you are declaring on the stack, NOT the heap. You have a limited stack size for your program (I'm not sure if you can increase it or not - anyone?). Try using heap variables instead and see if the problem goes away if this is how your code works (which it looks like from the snippets you posted).
Reply With Quote