ol muser
asked on
consume com+ component locally
Hi, I developed a simple COM+ component using VS2010, installed it in "Component services" under my machine.
Image attached shows the installation.
I also exported the MSi and the CAB file for this component.
Now I would like to consume my "AddNums" method of ICalc in a simple C++ client, locally, i.e on the same machine but using the MSI and CAB file as if I am using it from a remote machine. Just don't want to go through the trouble of setting up another machine in my home network right now.
Please give me step by step instructions to accomplish this. thanks.
Image attached shows the installation.
I also exported the MSi and the CAB file for this component.
Now I would like to consume my "AddNums" method of ICalc in a simple C++ client, locally, i.e on the same machine but using the MSI and CAB file as if I am using it from a remote machine. Just don't want to go through the trouble of setting up another machine in my home network right now.
Please give me step by step instructions to accomplish this. thanks.
There is no difference between local and remote machine. Use just the local IP instead of the remote IP when creating the COM object instance. Everything else should work same way as if you call the remote COM object.
ASKER
thanks @Ace, I have not done that before, hence the request for step-by-step instructions. Could you please elaborate the steps involved in creating the COM object instance?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This project was developed in VC++ on Windows 8.1.