/* Assemble and send C-FIND request */
OFList<QRResponse*> findResponses;
DcmDataset req;
req.putAndInsertOFStringArray(DCM_QueryRetrieveLevel, "STUDY");
req.putAndInsertOFStringArray(DCM_StudyInstanceUID, "");
T_ASC_PresentationContextID presID = findUncompressedPC(UID_FINDStudyRootQueryRetrieveInformationModel, scu);
if (presID == 0)
{
DCMNET_ERROR("There is no uncompressed presentation context for Study Root FIND");
return 1;
}
/* Over here it says &findResponses is not valid argument because of obvious reasons. */
result = scu.sendFINDRequest(presID, &req, &findResponses);
because the declaration of sendFINDRequest is this :
I am working/trying to work on an iOS + dcmtk compilation, I managed to compile dcmtk 3.6.0. And everything was fine until I needed to use findscu and getscu. I don't want to use storescp to retrieve images.
So, when I tried the latest few snapshots, the generated Xcode project doesn't open saying, the project file could not be parsed.
Without much leeway, I tried this particular snapshot which is closer to home, that is dcmtk 3.6.0 with getscu added. And now I get this error. So... yeah.
Also, kindly link me to the current snapshot, so I can give it a shot.
EDIT : If the 02-11-2012 snapshot is the latest snapshot (not sure if there's more), then that has already been tried.