In a C ++ program, I am trying to #import TLB server out-of-proc.NET.
I get errors like:
z: \ server.tlh (111): error C2146: syntax error: missing ';' before the identifier 'GetType'
z: \ server.tlh (111): error C2501: '_TypePtr': missing storage class or type specifiers
z: \ server.tli (74): error C2143: syntax error: missing ';' before 'tag :: id'
z: \ server.tli (74): error C2433: '_TypePtr': 'inline' is not allowed for data declarations
z: \ server.tli (74): error C2501: '_TypePtr': missing storage class or type specifiers
z: \ server.tli (74): fatal error C1004: an unexpected end to the found file was found
TLH is as follows:
_bstr_t GetToString();
VARIANT_BOOL Equals (const _variant_t & obj);
long GetHashCode();
_TypePtr GetType();
long Open();
, . .NET, GetType(), Equals() .. GetType(), , .
google , #import mscorlib.tlb ( ), .
?