Hello
Little problem when I try to use COM platform.symphony.Soam.COM.dll
in c++
what I did was:
In this case, I receive th error c2664: ISoamAPI::connect "cannot convert parameter 2 from IDefaultConnectionSecurityCallbackPtr to ISoamConnectionSecurityCallback*"Code:CoInitialize(0); ISoamAPIPtr soamAPI (L"soamCOMvc7.SoamAPI"); ISoamConnectionPtr connection (L"soamCOMvc7.SoamConnection"); IDefaultConnectionSecurityCallbackPtr callback(L"soamCOMvc7.DefaultConnectionSecurityCal"); soamAPI->Initialize(); callback->Init("Guest", "Guest"); connection = soamAPI->Connect("appName", callback);
Did I do anything wrong?
Of course, yes, but what?
Tks
D


LinkBack URL
About LinkBacks
Reply With Quote