>When I run a form, this error message appears.
>>Fatal error: Exception code=C0000005 @ 26-12-2006 14:20:49. Error log file: C:\Program Files\Common Files\Microsoft Shared\VFP\vfp9rerr.log
> Called from - input.init line 181 {d:\ginscale\forms\fwtn30.sct d:\ginscale\forms\fwtn30.sct}
> Called from - form3.command2.click line 1 {d:\ginscale\forms\menfrm.sct d:\ginscale\forms\menfrm.sct}
> Called from - form3.command2.cmdhide.keypress line 9 {d:\ginscale\classes\xpwizard.vct d:\ginscale\classes\xpwizard.vct}
> Called from - bism1 line 6 {D:\GinScale\progs\bism1.prg bism1.fxp}
> Called from - scale line 107 {D:\GinScale\progs\scale.prg d:\ginscale\ginning.exe}
>
A C005 exception could be anything. It is not an error but a whole class of errors.
It is basically the old "General Protection Fault" Windows message.
Could be a memory problem. Or faulty drivers (ex. older HP Printer drivers were known for causing exceptions.)
Could also be an unpatched
old version of VFP (you should always specify VFP version and SP you are using).
It could also be a problem of dangling references (garbage collection).
In short, it could be
many things.
Does it happen always on the same line (input.init 181)? Does it happen always? Did you trace through the debugger?
See:
http://fox.wikis.com/wc.dll?Wiki~C0000005ExErrorhttp://fox.wikis.com/wc.dll?Wiki~c0000005Errorhttp://fox.wikis.com/wc.dll?Wiki~ManualGarbageCollection