>>I am getting a Fatal Exception Code C000005 crash in one form after I hit the first "with this" statement in the class code.
>>
>>I can change where this happens by eliminating the "with this" statement from one code segment (by converting .cVariable to this.cVariable) to the next containing "with this".
>>
>>I have learned that Fatal Exception Code C000005's come only when I do something incredibly stupid, but in this case I cannot find it. The code I am crashing in are old, well tested classes which operate fine in other instances.
>
>I have worked a little more with this and it seems to be computer resource related rather than code. The code runs fine when I am not debugging it. I also Fatal Exception Code C000005 crash when I select "run to cursor" in the debug.
>
>I run Win 2000, 128MB memory, VFP 6.0 with all current patches.
You have some corruption in the Debugger settings. Issue a CLEAR DEBUG to put everything back to factory defaults and try your stuff again.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao