Calling a C# component from C++
I am trying to call a C# component of one of our clients from C++.
I imported the type library provided to me.
When I try to compile using MSVC 6.0 compiler and I get the following error.
error C2146: syntax error : missing ';' before identifier 'GetType'
error C2501: '_TypePtr' : missing storage-class or type specifiers
error C2143: syntax error : missing ';' before 'tag::id'
error C2433: '_TypePtr' : 'inline' not permitted on data declarations
error C2501: '_TypePtr' : missing storage-class or type specifiers
fatal error C1004: unexpected end of file found.
Any information will be highly appreciated.
Thank you
|