Hi Kevin
You have to install the SP4 For VFP6
This may fix this problem
HTH
Ariel Gimenez
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Hi, gang...
VFP App, compiled using VFP6, SP3, recently gave the C0000005 exception.
User is running on a Dell laptop with plenty of RAM, but was running Outlook, Word, and IBM Client Access terminal emulator while running our app. User hit the save button to post a record to a transaction file with about 18,000 records, and got the C0000005 exception message. VFP actually gives the line # where it choked, yet the line number is in a simple loop...
FOR nCounter = 1 to nTotBuckets
IF EVAL('m.SpendDlr' + ALLTRIM(STR(nCounter))) = 0
cCmd = 'm.SpendType' + ALLTRIM(STR(nCounter)) + ' = 0'
&cCmd ((here's where it dies...anything to do with macro subst??))
ENDIF
ENDFOR
This line has been executing fine for months (yes, I know, it's not great code, but it's legacy code and has always worked).
When we asked the user to close the Terminal program and Outlook, it ran fine..but of course, the head of I.T. believes our app is crap, since 'all of the other apps get along fine'.
Any thoughts? I had believed that SP3 resolved all C0000005 issues...
TIA,
Kevin
Ariel Gimenez
our power is our knowledge