Passing the COM Interface reference
-
Hi, I want to pass the reference(test) of the interface (ITest) define inside the COM DLL (TestCom.dll) in my application function.Example GetMerchItemType( TestComLib::ITest &test, int Temp) However I am facing the following error. error C2653: 'TestComLib' : is not a class or namespace name error C2061: syntax error : identifier 'ITest' Can you please help me resolve this error. Thanks
-
Hi, I want to pass the reference(test) of the interface (ITest) define inside the COM DLL (TestCom.dll) in my application function.Example GetMerchItemType( TestComLib::ITest &test, int Temp) However I am facing the following error. error C2653: 'TestComLib' : is not a class or namespace name error C2061: syntax error : identifier 'ITest' Can you please help me resolve this error. Thanks
Check the spelling. If you haven't explicitly renamed the namespace it would look something like 'TESTCOMLib'. -- Roger
It's supposed to be hard, otherwise anybody could do it!