InitCS Example for C++ Builder
AnsiString szout;
//create a data set as a command set
LEADDicom1->InitCS (COMMAND_C_STORE, True);
//gets information about the command set
LEADDicom1->GetInfoCS ();
szout= "Command: " + IntToStr (LEADDicom1->InfoCommand) + "\n";
if ( LEADDicom1->InfoRequest )
szout= szout + "Request: True";
else
szout= szout + "Request: False";
ShowMessage (szout.c_str ());