Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

error C4772: #import referenced a type from a missing type library; '__missing_type__' used as a placeholder

$
0
0

Hiii

I am migrating my application from vc++6.0 to vc++2008

I am getting this error C4772 in one of the header file , Below is the code line:

// define same types to be used in ICusomImportImpl.h out of the namespace!
#import "../Policy1/Policy1.tlb" rename_namespace("Policy1") raw_interfaces_only, raw_native_types, named_guids  //error
using Policy1::IBusinessImport;
using Policy1::IBusinessImportHelpers;

This error is referencing towards Policy1.tlb, but when i checked this tlb file is being  created  in right path.

Can anyone suggest me the solution for this??

Thanks


Viewing all articles
Browse latest Browse all 15302

Trending Articles