Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Practical limits on number of SET CLASSLIB TO's
Message
 
To
14/12/1999 20:03:52
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00303780
Message ID:
00303944
Views:
21
Hi Mike,

>do you know about the NewObject() function and method? In VFP6, you can use this (instead of createobject() and addobject()), and you specify the classlib as a parameter so it doesn't have to be in memory.

But its slower, because it always loads the class library, even if it has already been loaded with SET CLASSLIB. And it doesn't work when the class library is included into an EXE or APP, but the object from which you are creating the object doesn't belong to that EXE/APP, eg. when you have you SCXs external from the EXE and you execute NEWOBJECT() from a form that has been launched by another form.

Christof
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform