Jun 042007

To enable the use of CLSID_MyClsid/IID_ISomeInterface while importing type libraries use…

#import "MyTypeLib.tlb" named_guids
Jun 042007

When importing a type library it could be at times cumbersome to use the default namespace name.

#import provides a nice option called rename_namespace.


#import "SomeTypelib.tlb" rename_namespace( "NibuNamespace" )

Using no_namespace is lazy programming 😐 . Namespaces reduces name collision hence usage should be encouraged.