Message 1 of 1
C++ APIs don't work as their C# counterparts

Not applicable
11-05-2018
06:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
//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?