Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New stuff gets included
Message
From
20/11/2004 21:09:25
 
 
To
20/11/2004 20:15:42
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00960731
Message ID:
00963274
Views:
8
>A long thread so this might have already been said. Would this one work?
>
>
>Function GetObjectFromExternalExe
>lparameters tcClass,tcClasslib,tcAppModule
>return NewObject(tcClass,tcClassLib,tcAppModule)
>endfunc
>
This is only good to reference the instantiation information of the class and does not contain any information about where the main class is. For example, in my situation, I can specify where the class library of the sub class is. No matter is I use NewObject() or not, it will be found, as the base design I used to have included the sub class definition in the sub EXE. The problem relies on having the reference of the main class available in the sub EXE, which resides in a different memory space because of the COM approach, such as mentioned in the other message.

The goal here is to have the main class available at the framework level, which is the main EXE, and the sub class instantiation ability from the sub EXE, all that in COM mode. The sub class resides in the sub EXE project.
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
Reply
Map
View

Click here to load this message in the networking platform