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.

Use…

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

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

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.