I am trying to access a COM dll(eObjectBroker) from my C# application. Here are things I have done.
run tlbimport with eObjectBroker.dll to get the assembly. I get two assemblies, as COMSVCLIB is referenced from eObjectBroker. So I have eObjectType.dll and COMSCVLIB.dll
I add reference to these two assemblies in my .Net c# project. I also add reference to adodb.dll as a function call I make returns a Recordset type object.
I create the instance for a class in eObjectType and call one of its function. On this call I get the error 'Object variable or with Block variable not set'
What have I missed out? Is this the right method to access the COM dll?