View Single Post
  #3   Spotlight this post!  
Unread 01-28-2009, 01:37 PM
7-11number1 7-11number1 is offline
ROAR.
FRC #1711 (RAPTORS)
 
Join Date: Sep 2007
Rookie Year: 2006
Location: Traverse City, Michigan
Posts: 46
7-11number1 will become famous soon enough
Re: cRIO Application Loader Issue

Abwehr,

Thanks for the response, in this case we are declaring in the heap and did use the dereference as a tester but made no difference. I know that the code is not executing at all as this is the loader throwing the exception, not the application based on the exception report. When I get to the lab in a few hours, I'll post the exception text. Our code model is as follows:

/* declare global vars */
etc...
Joystick *joy2=new Joystick(2);
-or-
Joystick joy2(2);


(FUNCPTR) taskOperations(params) {
// do task operations
}

MyTask::MyTask() : Task("1711_TASK", (FUNCPTR)taskOperations) {}

I think some of the variables in the global space are candidates for the local task scope, but I fear there is a problem coming to light here that may bite us in due time again.

Cheers, Tony.
Reply With Quote