要调用一个进程外的com组件,
使用#import "E:\RecordClient\shrdll.exe"  implementation_only, no_namespace 
--------------------Configuration: temp - Win32 Debug--------------------
Compiling...
StdAfx.cpp
e:\c\stream player\temp\debug\shrdll.tli(14) : error C2653: '_CAppIsRun' : is not a class or namespace name
e:\c\stream player\temp\debug\shrdll.tli(14) : error C2065: 'BSTR' : undeclared identifier
e:\c\stream player\temp\debug\shrdll.tli(14) : error C2065: 'sInfo' : undeclared identifier
e:\c\stream player\temp\debug\shrdll.tli(14) : error C2448: '<Unknown>' : function-style initializer appears to be a function definition
e:\c\stream player\temp\debug\shrdll.tli(21) : error C2653: '_CAppIsRun' : is not a class or namespace name
e:\c\stream player\temp\debug\shrdll.tli(21) : error C2146: syntax error : missing ';' before identifier 'AppIsRun'
e:\c\stream player\temp\debug\shrdll.tli(21) : error C2501: 'VARIANT_BOOL' : missing storage-class or type specifiers
e:\c\stream player\temp\debug\shrdll.tli(21) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
--------------------------------------------------------
implementation_only, no_namespace 是我自己在msdn上找的,不用的话更多,
请指点一二,