Note that in .NET, COM objects must have a type library.
Register the COM object using the command:
regsvr32 myCOMObject.dll
Add the COM object to your
Enterprise Developer project as a reference. To do this:
Right-click
References in Solution Explorer.
Click
Add reference.
Browse to your COM object and select it.
In your managed code, invoke the COM object in the same way as any other managed object. The following example invokes the
Calculate method on the object theLoanCalculator: