Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New stuff gets included
Message
De
21/11/2004 04:13:38
 
 
À
20/11/2004 19:05:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00960731
Message ID:
00963292
Vues:
7
Michel,

>But, in order for this to work, I had to move the class library from the sub EXE into the main EXE and issue the SET CLASSLIB for that class library in the main EXE as well. So, whenever I have to modify one of those classes, I have to recompile the main EXE. But, at least, I can preserve the actual infrastructure of all other entities that are ready to be updated from the sub EXE. I tried to avoid that but, even when being called from this function, the CREATEOBJECT() was not working if the class library was not included in the main EXE.

I am not too clear on the scope and priority of the things you want to accomplish.
Since the new object is created in the memory space of the sub the object still takes up memory there and since you createobject in the main, you will get the "createobjectcaching" from the main (plus: no speed hit for set classlib after first creation, class template cached, minus: possible deployment/update problems, dynamic evals of properties stay at the mein level, any calls to properties/methods have to marshall across COM barrier taking a speed hit). You probably won't get a methology giving you everything you want, so you have to pick and choose: Seeing weighted wishes might help. I am not sure the size issue I've read somewhere has the repercussions you wish to avoid.

HTH

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform