static BYTE parms[] = VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT ; try { InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, parms, URL, Flags, TargetFrameName, PostData, Headers); } catch (COleDispatchException* pException) { CString strErrorMsg; pException->GetErrorMessage(strErrorMsg.GetBuffer(256), 256); strErrorMsg.ReleaseBuffer(); AfxMessageBox(strErrorMsg); } catch(...) { CString strErrorMsg = "some error has happened"; AfxMessageBox(strErrorMsg); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)