Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem Calling Class Method
Message
 
 
To
04/01/2010 06:17:15
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000
Miscellaneous
Thread ID:
01441246
Message ID:
01441877
Views:
79
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform