I posted something about this earlier. I am getting an execution engine exception randomly after the form on my test app closes. I posted it to the Microsoft forums. The responders seem to think that the analogCallback is being called after the form is closed, giving this error. Most of the code is a dead ringer for the code in the the Measurment Studio example for Continuous Multichannel Signal Acquisition Internal Clock. That sample does not give the error though.
The thing that makes this most crazy is that I call the task.dispose() method in the form.closing event. But I am still getting random (80% of the time) errors when I close the form. If I rem out the SynchronizingObject=Me line, then the error goes away. This error, according to the wizards in Redmond, is not supposed to ever happen, and so don't give any help when it does. I could really use some help.
Thanks
Joe White