
August 21st, 2003, 04:23 AM
|
|
Junior Member
|
|
Join Date: Aug 2003
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Please help (section 5)
I have been steadily working my way through the article "your first COM client". I have a com component that I built using Borland Builder. It is an exe.
When I use HRESULT hr = CoInitialise(NULL) my code returns false. Is this correct.????
And when I try and compile my code it complains when I am trying to create and instance of the component:
My COM class is CCSConnection, so I typed:
_CCSConnection *valid;
By the compiler complained:
error C2065: '_CCSConnection' : undeclared identifier
error C2065: 'valid' : undeclared identifier
error C2296: '*' : illegal, left operand has type ''unknown-type''
error C2297: '*' : illegal, right operand has type ''unknown-type''
Any suggestions????
Last edited by Dunk : August 21st, 2003 at 04:25 AM.
|