General information
Title:
ANOTHER c0000005 crash - MS People - FIX THIS, PLEASE!!
well, I can reproduce another C0000005 error. here is the dump and the code that crashed it, synopsis following the code..
VFP6 caused an invalid page fault in
module MFC42.DLL at 0137:5f4012a1.
Registers:
EAX=00000000 CS=0137 EIP=5f4012a1 EFLGS=00010246
EBX=03ce0000 SS=013f ESP=035afbe8 EBP=035afc28
ECX=00000000 DS=013f ESI=00b60830 FS=45cf
EDX=00000003 ES=013f EDI=00000000 GS=12de
Bytes at CS:EIP:
8b 71 04 85 f6 57 74 26 8b 7c 24 0c 33 d2 8b c7
Stack dump:
00b60830 5f405979 00000720 00000000 03ce0000 00b60830 03ce283c 00b60830 5f405b7c 00000000 03d0a178 03d0a520 00814974 035afc40 5f496366 00000000
LOCAL lcRateNum
DO FORM frmOpen WITH "RateSheet" TO lcRateNum
IF (VarType(lcRateNum) == 'C')
IF (oApp.formIsOpen("frmRateSheets"))
* THIS IS THE LINE THAT CRASHES
oApp.forms["frmRateSheets"].Goto(lcRateNum)
ELSE
DO FORM frmRateSheets WITH lcRateNum
ENDIF
ENDIF
my oApp has a forms_access(), that looks up the form named "frmRateSheets". This code crashes VFP. If I do ANYTHING with teh return value, however ( ?... , x = ...) then it does not crash!!!
what a ridiculous error. A head from ass extraction is necessary in Redmond.
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only