]> Creatis software - gdcm.git/blobdiff - Testing/dynmodule.cxx
use GDCM_NAME_SPACE:: instead of gdcm::, even in Examples ...
[gdcm.git] / Testing / dynmodule.cxx
index 977725466b569312d87604cb6527fdf689614f1d..92e8a574c3e7f9931e34b061db98cb4329a2a6cc 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: dynmodule.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/11/03 16:19:57 $
-  Version:   $Revision: 1.2 $
+  Date:      $Date: 2008/09/15 15:49:21 $
+  Version:   $Revision: 1.4 $
                                                                                 
   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 = gdcm::File::New();
+  GDCM_NAME_SPACE::File *file = GDCM_NAME_SPACE::File::New();
+  file->SetLoadMode(0); // To avoid warning
   
   std::cerr << "End of function afunc"  << std::endl;