Nikeware
I have COM error - "class not registered", when I try create instance of IFTPFXP
IFTPFXPPtr pFxp;
try
{
HRESULT hr = pFxp.CreateInstance(__uuidof(IFTPFXP));
if (FAILED(hr))
{
nRet= SYNC_CANCEL;
_com_issue_error(hr);
}
}
catch (_com_error& ce)
{
nRet= SYNC_CANCEL;
AfxMessageBox(ce.ErrorMessage());
}
How to resolve this problem?
Regards,
Nikolai
IFTPFXPPtr pFxp;
try
{
HRESULT hr = pFxp.CreateInstance(__uuidof(IFTPFXP));
if (FAILED(hr))
{
nRet= SYNC_CANCEL;
_com_issue_error(hr);
}
}
catch (_com_error& ce)
{
nRet= SYNC_CANCEL;
AfxMessageBox(ce.ErrorMessage());
}
How to resolve this problem?
Regards,
Nikolai