I'm using LabWindows 7.1.0 under XP Pro. I got the General Protection Fault when I did the following. Attached is the snapshot of the crime scene:
I ran the application in debug mode to line 2651, and got the prompt. At the moment, "idx" equalled to 2;
Enter numbers including 1 and 2 several times to prove the logic in the forever loop (started at line 2649);
Stopped the execution, then set the next statement to line 2670, press F10 to step over it;
Got fatal run-time error as shown at the bottom.
I have a timer with callback function named OffsetTesterTimer. It's activated every .2 seconds. Looks like it has something to do with it, bacause:
1) From the Stack Trace on the right bottom, you can see it's pointing to my timer callback function OffsetTesterTimer;
2) If I disabled the timer and reran the sequece above, I didn't get any error.
Could somebody explain what's going on?
Thank you very much.
Jason