Gary,
>If you review the rest of the original message, it says exactly your point, which I agree is the way to go. Not to repeat my entire orgiginal message, how are we going to have the abstactfactory instantiate classes when the framework is using doform to instantiate classes within itself between related forms. Doform assumes all referenced classes have their liabraries "set class lib'ed, which will not be the case.
Sorry for the misunderstanding! As long as at least one class has been instantiated from the external APP or EXE by means of the Abstract Factory, VFP will automatically be able to find all other classes in that same APP or EXE. This is because the Abstract Factory issues a SET CLASSLIB TO
IN when it instantiates the first class requested from an external APP.EXE.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com