LoadDS Example for C++ 6.0 and later
short nRet;
//load a Data Set
m_pLEADDicomDS->EnableMethodErrors = FALSE;
nRet = m_pLEADDicomDS->LoadDS ("d:\\lead14\\dist\\images\\dicom\\image2.dic", 0);
if(nRet != DICOM_SUCCESS)
AfxMessageBox("Error loading file!");
m_pLEADDicomDS->EnableMethodErrors = TRUE;