Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem creating an object
Message
 
 
To
13/11/2004 13:52:49
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00961179
Message ID:
00961188
Views:
12
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform