Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclass a class
Message
De
03/07/2004 16:11:25
 
 
À
02/07/2004 08:18:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00920057
Message ID:
00920476
Vues:
17
Heya Chris -
after reading all of the thread replies to your posting -
I would suggest that its time you move on from multiple class libraries

and make either:
1. a prg file that contains all that you want. Compile it encrypted [cause you want to resell it ] into an app. and then reference the app earlier on in your program calling hierarchy.
2. a complete raw dump of the '2 levels of instantiation that you need' into a memo field - then eval/exec the contents of that memo field
either via strtofile() or IN MEMORY
and have your class libraries reside only in memory during program execution.
It's a tad bit convouluted - but at the same time ?
once you got it IN memory -
you don't have to worry about 'which' baseclass you are subclassing from.

HTH - mondo regards [Bill]
ps -
classlibs are really tables - so study them a bit with scan..endscan constructs, and see how you can sling code into memory with a scan..endscan loop.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform