Thanks... but this solution dosent work.
I use DCOM client&server objects.
i did reference to the COM object in the project.
I need to pass ip param at the instantiate of this object so it will instantiate the COM object at the server.
when i use this line in vb - it works fine:
obj = CreateObject("a aa.bbb", "10.10.20.3 0");
but when i use your solution in c...
Leave a comment: