Return value
-
HI Experts How can i handle the return value of this function inline iRDOStoresPtr IRDOSession::GetStores ( ) { struct iRDOStores * _result = 0; HRESULT _hr = get_Stores(&_result); if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); return iRDOStoresPtr(_result, false); }
manu
-
HI Experts How can i handle the return value of this function inline iRDOStoresPtr IRDOSession::GetStores ( ) { struct iRDOStores * _result = 0; HRESULT _hr = get_Stores(&_result); if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); return iRDOStoresPtr(_result, false); }
manu
Try this
iRDOStoresPtr pRDOStores = IRDOSession::GetStores()
but replace the "IRDOSession::" bit the name of your variable that represents the IRDOSession class/structure, e.g.iRDOStoresPtr pRDOStores = mySessions.GetStores()
Jonathan Wilkes Darka [Xanya.net]