Walter Meester
HoogkarspelPays-Bas
Versions des environnements
Hi Jon,
I've made a habit of using a sys(1104) in such circumstances. It purges dirty buffers, which might be related in your case.
Walter,
>I have one site that is getting a c0000005 on all 4 of their machines. We've seen this error plenty of times and are hunting down different instances of it. In this site's case, no matter what machine gets the error(all running the same .EXE) it always come from the same method..I'm currently tracking down the exact line number but have to watch/wait for another occurrence..
>
>Here is the method, does anyone see any suspect commands in here that might cause a c0000005? Thanks.
>
>------------------------
>
>IF type("tcClassLib") = "C" AND !empty(tcClassLib)
> tcClasslib = upper(alltrim(tcClassLib))
> ELSE
> return .f.
>ENDIF
>IF rightc(tcClassLib,4) # ".VCX"
> tcClassLib = tcClassLib + ".VCX"
>ENDIF
>local llSuccess
>llSuccess = .t.
>IF "\"+tcClassLib $ set("CLASSLIB")
> ELSE
> local lcOnError
> lcOnError = on("ERROR")
> on error llSuccess = .f.
> set classlib to (tcClassLib) additive
> on error &lcOnError
>ENDIF
>return llSuccess
>
>----------------------------
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement