X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Testing%2Fdynmodule.cxx;h=340180ca334383921f51f0ccd5a96b0e319a0d10;hb=977b70320ec22c560eb92d4669b26455e0842b7b;hp=2c9a664d51cea22e0338b3c9ac45df396c83dc1c;hpb=e52b6b54728afa0a469a427ffd4eed3c4b5aa2de;p=gdcm.git diff --git a/Testing/dynmodule.cxx b/Testing/dynmodule.cxx index 2c9a664d..340180ca 100644 --- a/Testing/dynmodule.cxx +++ b/Testing/dynmodule.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: dynmodule.cxx,v $ Language: C++ - Date: $Date: 2005/09/19 18:54:10 $ - Version: $Revision: 1.1 $ + Date: $Date: 2005/11/08 08:31:42 $ + Version: $Revision: 1.3 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -30,7 +30,8 @@ extern "C" __ELX_DLLEXPORT void afunc(void) // Create an instance of a gdcm class. This makes sure // that the problematic gdcm-library is linked. - gdcm::File *file = new gdcm::File(); + gdcm::File *file = gdcm::File::New(); + file->SetLoadMode(0); // To avoid warning std::cerr << "End of function afunc" << std::endl;