It is strange. I got C5 always from different compters (win 98). Only FPW
shows foxpro error.
Maybe you try it with from clean environment:
NEWOBJECT('t')
DEFINE CLASS t as session
PROCEDURE init
USE paring
RETURN
ENDDEFINE
>Hi Andrus,
>
>I tried it in VFP 7 Build 9262 and didn't get any c..5 errors but error message 'Index does not match the table. Delete the index file and re-create the index (Error 114)'. Something else causes or contributes to c..5 on your PC.
>
>>I discovered that USE command in VFP produces fatal error.
>>Is it posiible to fix it so that vfp error handler is invoked instead of c5 ?
>>
>>To reproduce, download a dbf file at
www.eetasoft.ee/c5onuse.zip>>
>>and run
>>
>>USE paring
>>
>>Results:
>>
>>vfp 7: c5 error
>>vfp 5: invalid page fault
>>fpw: index table does not match database file. recreate index.
Andrus