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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only