C++ Builder #import问题
大家好!
代码如下,#import两个tlb文件,但是会提示 [C++ Error] Unit1.h(10): E2209 Unable to open include file ' mscorlib.tlh' 和 [C++ Error] Unit1.h(13): E2209 Unable to open include file ' RedRat.tlh'
文件目录中有mscorlib.tlh和RedRat.tlh文件
#pragma warning(disable:4146)#import "C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727\\mscorlib.tlb" no_namespace named_guids raw_interfaces_only# pragma warning(default:4146)#import "D:\\Program Files\\RedRat\\RedRat SDK\\RedRat.tlb" no_namespace named_guids raw_interfaces_only