>Hi all,
> I have been getting some error messages when i run my program like "Syntax error" and "Fatal error: Exception code=C0000005. Called from - program line 22 {c:\labelling\program.prg}". The thing i dont understand is, these error messages dont pop up all the time. I will see these message maybe like 2 times out of the 10 times that i run my program. Why is that? If there are really errors in my program, shouldnt the error messages pop up EVERYTIME i run my program?
>
>From,
Susan,
Errors will occur everytime the exact same situation arises again. Now the problem is that the situation is not JUST your code but the rest of teh state of teh computer as well. The C5 errors are fatal operating system errors that are saying the application (in your case VFP) has done something illegal and it is being shut down. These errors are seldom a result of your code.
What version of VFP are you using? The msot recent patch for VFP 6.0 removed most of the causes for the C5 errors. Versions before Service Pack 3 of VFP 6.0 did have some problems with the C5 errors.