comparison OrthancCppClient/Package/Test/Vtk/main.cpp @ 512:1b8a1c43893e laaw

compilation of the dll 32/64
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 18 Jul 2013 12:36:02 +0200
parents d87febb5f183
children
comparison
equal deleted inserted replaced
510:d87febb5f183 512:1b8a1c43893e
137 137
138 138
139 // Try and find a 3D image inside the local store 139 // Try and find a 3D image inside the local store
140 OrthancClient::OrthancConnection orthanc("http://localhost:8042"); 140 OrthancClient::OrthancConnection orthanc("http://localhost:8042");
141 141
142 printf(">> %d\n", orthanc.GetPatientCount());
143
144 for (unsigned int i = 0; i < orthanc.GetPatientCount(); i++) 142 for (unsigned int i = 0; i < orthanc.GetPatientCount(); i++)
145 { 143 {
146 OrthancClient::Patient patient = orthanc.GetPatient(i); 144 OrthancClient::Patient patient = orthanc.GetPatient(i);
147 std::cout << "Patient: " << patient.GetId() << std::endl; 145 std::cout << "Patient: " << patient.GetId() << std::endl;
148 146