Link to home
Start Free TrialLog in
Avatar of ol muser
ol muserFlag for United States of America

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. User generated image
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.
Avatar of ol muser
ol muser
Flag of United States of America image

ASKER

I am using Visual Studio 2010, as mentioned earlier.

This project was developed in VC++ on Windows 8.1.
Avatar of Pavel Celba
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.
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
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial