Click to See Complete Forum and Search --> : Automation


Korween
September 10th, 2001, 07:44 AM
Hello,

I have created an Automation application with MFC and I want export any data from my C++ application in VBA , where another developer can manipulate this data and should give me back new data, which I must use in my C++ application.

How can I get the same Automation object from VBA, that I have already in C++ application, manipulate the data this object and afterwards theese new data in my C++ application use again.

With best regards

makai
September 10th, 2001, 10:39 AM
generally you call a method of the object

==========================================

can you refresh my memory of the MFC abbreviation?

Biplab Das
September 28th, 2001, 01:02 PM
One very evident way to make this work is:
Create a out-of-process COM server.
The C++ App can connect to this and push in data.
The vB Object can take that data and do whatever.
It can then push it back into the COM-EXE. This can be made to trigger and event to which the C++ App is listening to.

Biplab

DeafBug
September 28th, 2001, 01:09 PM
Microsoft Foundation Class