O'Reilly logo

Special Edition Using C# by NIIT

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Accessing C# Components from Unmanaged Code

There might be situations where existing COM-based applications might need to access new .NET components. The COM-based applications might require the new functionality provided by the .NET components. Such COM-based applications are said to be written using unmanaged code, because they are not managed by the Common Language Runtime.

This is where the RegAsm.exe utility, also referred to as the Assembly Registration utility, is used. Typically, when an unmanaged application tries to instantiate a COM object, the COM services search for information about the COM object in the registry. Similarly, when the COM-based application has to access a .NET component, the application requires the corresponding ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required