Link to home
Start Free TrialLog in
Avatar of mk1234
mk1234

asked on

Interfacing with API written for .NET

We need to use an API written to the .NET environment. However, our development environment doesn't subscribe to .NET. But, it fully supports COM framework.
What is a good way for me to access the API written for languages that support .NET?
Is there a COM <-> .NET bridge that is commercially available? Does anyone know of useful links on this subject?
Avatar of naveenkohli
naveenkohli

.Net itself has a COM<->.Net bridge caled Interop. use regasm command line tool to register .Net assembly for use with COM clients.
but even for this to work, you will need .Net framework installed on the system.

Take a look at .Net documentation on regasm and interop
Avatar of mk1234

ASKER

All I received from the vendor is a DLL (.NET assembly?) which is compiled for a .NET environment.
Now, are you saying that there is a "regasm" tool (can it be downloaded? or part of visual studio.NET?) that I can can specify commandline parameters to register this .NET assembly for use with COM clients?
Once it is registered, can I use the .NET assembly as if it is a COM server?
Now, how about datatype mismatches and incompatibilities? Do you know of any pre-requisites for a .NET assembly to seamlessly work with COM clients?
ASKER CERTIFIED SOLUTION
Avatar of lgreenlee
lgreenlee

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial