No parameters
Method description
It is used to invoke the Add miscellaneous Income DIalogExample code
CComPtr<ITransactions>m_Transaction;
HRESULT hr=m_Transaction.CoCreateInstance(CLSID_Transactions);
if(FAILED(hr))
{
AfxMessageBox(_T(""Transaction Settings Failed""));
return FALSE;
}
if(E_FAIL==m_Transaction->InvokeAddMiscIncomeDlg())
{
AfxMessageBox(_T(""Access denied""));
}