InsertModule Example for C++Builder

   int nRet;

   LEADDicom1->EnableMethodErrors = false;
   LEADDicom1->GetInfoDS();
   nRet = LEADDicom1->InsertModule(DICOM_MODULE_MULTI_FRAME_OVERLAY, true);
   if(nRet != SUCCESS)
      ShowMessage("Error Inserting Module!");
   else
   {
      LEADDicom1->FindModuleIOD(LEADDicom1->InfoClass, LEADDicom1->CurrentModule->Module);
      ShowMessage("Inserted Module:\n" + LEADDicom1->CurrentIOD->Name);
   }