I am trying to access a COM dll(eObjectBroker) from my C# application. Here are things I have done.
run tlbimport with
eObjectBroker.dllto get the assembly. I get two assemblies, asCOMSVCLIBis referenced fromeObjectBroker. So I haveeObjectType.dllandCOMSCVLIB.dllI add reference to these two assemblies in my .Net c# project. I also add reference to
adodb.dllas a function call I make returns a Recordset type object.I create the instance for a class in
eObjectTypeand call one of its function. On this call I get the errorObject variable or with Block variable not set
What have I missed? Is this the right method to access the COM dll?