- sprintf(zizi,"%d\n",0x7FE0);
- ImageLocation = zizi;
-//f1->SetEntryByNumber(Location, 0x0028,0x0200);
-//f1->GetHeader()->SetEntryLengthByNumber(strlen(ImageLocation.c_str())-1, 0x0020,0x0050); // prudence !
+ zizi = gdcm::Util::Format("%d",0x7FE0);
+ ImageLocation = gdcm::Util::DicomString(zizi.c_str());
+//f1->SetValEntry(Location, 0x0028,0x0200);
+//f1->GetFile()->SetEntryLength(strlen(ImageLocation.c_str())-1, 0x0020,0x0050); // prudence !