StartUp Example for C++ 6.0 and later
{
int nRet;
//set the temporary file path
m_pLEADDicomNet->PutNetworkTempPath("d:\\temp");
//start the network
nRet = m_pLEADDicomNet->StartUp ();
if (nRet == 0)
AfxMessageBox("StartUp() Successful");
else
AfxMessageBox("StartUp() Failed");
//do some network communication here
//...
//...
//shut down the network
m_pLEADDicomNet->ShutDown();
}