Link to home
Start Free TrialLog in
Avatar of Pete2003
Pete2003

asked on

COM Componets in C#

Hi All,

I need to call  COM component (A Toolkit written by a 3rd party) ... I have done this in C++  but my attemts in C# are less then fruitfull.

Could someone please provide me with a syntax for loading/instantiating a com component and then calling a function of it.

Thanks
Peter
ASKER CERTIFIED SOLUTION
Avatar of AlexFM
AlexFM

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
Avatar of AlexFM
AlexFM

When you add COM library to the project, you have new namespace available. To see it's name, type in the beginning of the file:
using Ctrl+Space
and see new namespace added to the project. COM component is part of this namespace.