Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem Calling Class Method
Message
 
 
À
04/01/2010 06:17:15
Andrew Kershaw
Ceva Logistics Uk
Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000
Divers
Thread ID:
01441246
Message ID:
01441877
Vues:
80
Which line gives the error? What's the value of lcObject at the time of the error?

>Hi Gents. Thanks for your replies. The code is as follows:
>
>	*/ Instantiate object.
>	&lcObject = NEWOBJECT(lcClass, lcFullClassLibrary)
>	IF VARTYPE(&lcObject) <> "O"
>		THIS.LogIt("goOdyGeneric.CreateObject","","Unable to instantiate object "+lcObject,.T.)
>		RETURN .F.
>	ELSE
>		llObjectCreated = .T.
>	ENDIF
>
>I don't think this will help much (as you won't know what the variables refer to). The trouble is that this problem only happens very rarely and I haven't got a log from the last time it happened. When/if if happens again I will gather more details.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform