Versions des environnements
Hi,
Any chance 'SET CLASSLIB TO.. ADDIT' is exceeding some undocumented limit on number of classes, string length etc?
Regards,
Viv
>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
Suivant
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