EnableMethodErrors (ILEADDicomNet) Example for C++ 6.0 and later
//Toggle method errors
BOOL bOldState;
bOldState = m_pLEADDicomNet->EnableMethodErrors;
m_pLEADDicomNet->EnableMethodErrors = !bOldState;
if (m_pLEADDicomNet->GetEnableMethodErrors())
AfxMessageBox("EnableMethodErrors is ENABLED");
else
AfxMessageBox("EnableMethodErrors is DISABLED");