IsActivated Example for C++ 6.0 and later
{
CString strMsg;
BOOL bActivated, bConnected, bAssociated;
bActivated = m_pLEADDicomNet->IsActivated (m_pLEADDicomNet->GethNet());
bConnected = m_pLEADDicomNet->IsConnected (m_pLEADDicomNet->GethNet());
bAssociated = m_pLEADDicomNet->IsAssociated (m_pLEADDicomNet->GethNet());
strMsg.Format("IsActive[%d]\nIsConnected[%d]\nIsAssociated[%d]", bActivated, bConnected, bAssociated);
AfxMessageBox(strMsg);
}