Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New stuff gets included
Message
From
20/11/2004 00:49:39
 
 
To
20/11/2004 00:03:33
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00960731
Message ID:
00963160
Views:
22
>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.

I have about 80 instances of that object with about 50-75 property defined in each as well as about 5-10 methods will with code in each. This is our biggest object. So, I guess the only approach would be COM event binding. I just don't know presently how to achieve that. Could you explain a little bit more about what I should expect to achieve that?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform