Fatal Error C1103

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Fatal Error C1103.

fatal error importing progid: 'message'

The compiler detected a problem importing a type library. For example, you cannot specify a type library with progid and also specify no_registry.

For more information, see #import Directive.

The following sample will generate C1103:

// C1103.cpp  
#import "progid:a.b.id.1.5" no_registry auto_search   // C1103  

Show: