X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Example%2FTestCopyDicom.cxx;h=2edc47f8597b8a04dc85164c64c009ea80af353e;hb=532e2ee2beaace36c3e8fb62d185b79c5c8f6e96;hp=092e6f16c5c6f73ab933adff89fb9e9a006c8639;hpb=692f863c018c259a380e664d3608a46ec0c8bb3e;p=gdcm.git diff --git a/Example/TestCopyDicom.cxx b/Example/TestCopyDicom.cxx index 092e6f16..2edc47f8 100644 --- a/Example/TestCopyDicom.cxx +++ b/Example/TestCopyDicom.cxx @@ -6,6 +6,8 @@ #ifndef _WIN32 #include //for access, unlink +#else +#include //for _access #endif // return true if the file exists @@ -89,7 +91,7 @@ int main(int argc, char* argv[]) if ( gdcmBinEntry* b = dynamic_cast(d) ) { copy->GetHeader()->ReplaceOrCreateByNumber( - b->GetVoidArea(), + b->GetBinArea(), b->GetLength(), b->GetGroup(), b->GetElement(),