Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem creating an object
Message
 
 
À
13/11/2004 13:52:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00961179
Message ID:
00961188
Vues:
8
>Ok, I have found the problem. Here is the infrastructure within the creation of that object.
>
>I have an EXE which is TSR. That EXE is calling a sub EXE when needed. That EXE is holding the main object in its project. The sub EXE is creating a subclass of that object. In order to save some disk space for the sub EXE size, I marked the auto inclusion of the main class of the main EXE as excluded when I compile the sub EXE. The reason for this is because that main object is having a size of 352k. I thought I didn't need to include that in the project of the sub EXE in order for its good running. Is there any workaround for this in order to avoid including that big class in each sub EXE I will compile?

It depends on how you instantiate an object and works for VCX's only. For CREATEOBJECT() you can add SET CLASSLIB TO ... IN main.exe. For NEWOBJECT(), specify the third parameter.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform