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