-
DllRegisterServer function in the implementation of component should register the ProgID, CLSID, Interface, and TypeLib.
-
The interfaces and classes in component must be defined in Type Library.
-
Component should use either standard marshaling or type library marshaling (custom marshaling is excluded).
-
-Oicf flag should be used with MIDL while producing proxy/stub DLL and proxy/stub DLL should be linked with mxil.lib file.
|