using another IDE (SQLWindows/Unify) I created a COM-object containing some business logic. Now I want to access the methods of this COM-object using VS2010 and C#. I have the .dll and .tlb file for my COM object.
In my first try, I registered the DLL locally using regsvr32. I referenced the DLL from my C# client and can successfully call the methods in this COM object.
Now I want to install this COM object on a remote machine using the Component service. I know how to do the remote install. What I don't know is how to access the remote COM object with my C# client. From what I've found so far is, that I must create a new
DLL from the .tlb file using tlbimp.exe. In my C# client for the remote com object I need to reference this new DLL. But how do I create/activate the remote com object to call any method? Somehow I must specify the servers name or IP address. I found
some code about how to call a remote com object using reflection but this thread says that this is only relevant when you don't have the .tlb
Am I right when I assume that as long as the interface of my COM object does not change, that I can install a new version on the server and the remote client will still work with the old DLL created with tlbimp. Or must I recreate this DLL
with tlbimp every time?
I would be glad if someone can point me to s
View Complete Post