C++ APIs don't work as their C# counterparts

C++ APIs don't work as their C# counterparts

Anonymous
Not applicable
257 Views
0 Replies
Message 1 of 1

C++ APIs don't work as their C# counterparts

Anonymous
Not applicable

//C++ development Environment

_bstr_t uniqueFaceName = pFaceProxyPtr->InternalName; //throws exception even if pFaceProxyPtr is a legit FaceProxy COM pointer

 

//C# development Environment

string uniqueFaceName = pFaceProxy.InternalName; //works perfectly fine...

 

Can you suggest other alternatives than other methods (all the handled methods  pFaceProxyPtr->get_InternalName(&uniqueFaceName); or even pFaceProxyPtr->>get_NativeObject(&pTempFace); fails where pTempFace is defined as FacePtr pTempFace)?

I tried to dig around a little, it says E_NOINTERFACE at some point in the com.tli .

How else can I access the FaceProxy Pointer?

 

0 Likes
258 Views
0 Replies
Replies (0)