Tags » .NET/COM/ActiveX Interop

How to Determine if a Type Library was Generated from a .NET assembly.

1. Introduction.

1.1 When a .NET assembly (DLL or EXE) that contains a COM-visible class is compiled and registered via REGASM.EXE, a type library will be generated. 999 more words

Programming Issues/Tips

How to Determine if a coclass is a Managed Class.

1. Introduction.

1.1 A managed class, when exported to COM, can be identified as being managed.

1.2 This is possible because the type library exporter, which handles the creation of the type library for the managed class library, will insert a special custom IDL attribute for the resulting coclass that represents the managed class. 1,012 more words

Programming Issues/Tips

Loading Parameters for a Managed COM Server in HTML.

1. Introduction.

1.1 ActiveX and COM objects may be loaded onto a HTML page via the tag.

1.2 Additionally, parameters may be passed to the ActiveX/COM objects using the tag (see… 1,086 more words

.NET/COM/ActiveX Interop

Exposing an Enumerator from Managed Code to COM.

1. Introduction.

1.1 An enumerator allows iterations over an unordered collection of objects of a specific type.

1.2 In COM, enumerators are expressed as IEnumXXX interfaces (e.g. 1,182 more words

.NET/COM/ActiveX Interop

The Significance of the COM coclass.

1. Introduction.

1.1 Intermediate COM application developers generally understand the COM development process and are familiar with most of the ubiquitous terms, phrases and concepts, e.g.  2,754 more words

COM

Obtain Type Information of IDispatch-Based COM Objects from Managed Code.

1. Introduction.

1.1 Twice this year, someone from the MSDN forum attempted to determine the names of methods exported from a COM object by using Type.GetMethods(). 2,875 more words

.NET/COM/ActiveX Interop

Using a VT_RECORD VARIANT in Managed Code Part 5

1. Introduction.

1.1 In part 4, I demonstrated how to receive a VT_RECORD VariantStructGeneric structure from an unmanaged API as an “out” parameter.

1.2 Here in part 5, I shall demonstrate how to pass a VT_RECORD VariantStructGeneric to and from an unmanaged API as both and “in” and “out” parameter (i.e. 1,531 more words

COM