NetReceiveReleaseResponse Example for C++ 6.0 or later

void CDicomNetSink::OnNetReceiveReleaseResponse (long hNet) 
{
   CString strMsg;
   _bstr_t strPeerAddress = m_pDlg->m_pLEADDicomNet->GetPeerAddress (hNet);
   strMsg.Format("*** NetReceiveReleaseResponse Event ***\nPeer[%s]", (char *)strPeerAddress);
   AfxMessageBox(strMsg);
}