Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C0000005 - anyone seen this one?
Message
De
28/02/2006 04:29:21
 
 
À
27/02/2006 17:09:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
MySQL
Divers
Thread ID:
01099689
Message ID:
01099784
Vues:
19
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
Fil
Voir

Click here to load this message in the networking platform