1 // The following crashes on Win32
2 // We have to be carefull when the code both use cout + printf VC++ gets
3 // confused, thus make sure we use only one kind of iostream
7 int TestBug(int argc, char* argv[])
12 e1 = new gdcmHeader( argv[1] );
14 std::string filename = GDCM_DATA_ROOT;
15 filename += "/test.acr";
16 e1 = new gdcmHeader( filename.c_str() );
19 //e1->GetPubDict()->GetEntriesByKey();
20 e1->GetPubDict()->PrintByKey();