eeshat
May 14th, 1999, 07:24 AM
Hi,
At least I never thought it is possible but it can be done. Will someone tell me how?
I have a document - view type MFC project that creates exe.
Normally you will create COM in a separate project either as DLL or OCX.
But not in this case.
I am required to add (and create) a COM object and its IDL file etc. to the
existing project so that project also registers COM's interface while creating the exe.
Later at run time, the built in COM object can be used with CoCreateInstance() call
inside the project.
Note it is my own COM object. This way my exe can communicate with other distributed
components.
Sounds interesting ? please respond fast.
Eeshat
At least I never thought it is possible but it can be done. Will someone tell me how?
I have a document - view type MFC project that creates exe.
Normally you will create COM in a separate project either as DLL or OCX.
But not in this case.
I am required to add (and create) a COM object and its IDL file etc. to the
existing project so that project also registers COM's interface while creating the exe.
Later at run time, the built in COM object can be used with CoCreateInstance() call
inside the project.
Note it is my own COM object. This way my exe can communicate with other distributed
components.
Sounds interesting ? please respond fast.
Eeshat