Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New stuff gets included
Message
From
20/11/2004 00:03:33
 
 
To
19/11/2004 21:26:31
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00960731
Message ID:
00963156
Views:
21
Michel,

you might have mentioned that you are using the exe's in a COM environment <g>.

Since they are in different processes, I'ld expect the behaviour you describe, since they don't share a common adress space, but I haven't really researched it. You might try a slightly different architectural approach: create the object in the main exe. If you need specific functionality only in the sub.exe, don't implement as a subclass of the main, but either create small worker objects in the sub.exe or try COM event binding. Since you'll have a marshalled COM object, if you have many calls to this object, the performance will suffer - take a look at your code seen from that perspective before trying <g>. The only other way not to suffer from redundancy is to put the common inheritance into separate prg's or vcx "left" on the disk to be called directly - but the memory will probably used in the main and sub exe, even if the code is only not redundant.

HTH

thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform