Program: crea
Module: $RCSfile: creaFilesFromDirectory.cxx,v $
Language: C++
- Date: $Date: 2008/11/25 13:15:57 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2008/12/03 14:53:42 $
+ Version: $Revision: 1.2 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#include <sys/stat.h> //stat function
#include "creaFilesFromDirectory.h"
+ #include "creaMessageManager.h"
namespace crea
{
#ifdef _WIN32
- const char FILESEPARATOR = '\\;
+ const char FILESEPARATOR = '\\';
#else
const char FILESEPARATOR = '/';
#endif
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language
(LPTSTR) &lpMsgBuf,0,NULL);
- gdcmErrorMacro("FindNextFile error. Error is " << (char *)lpMsgBuf
+ creaError("FindNextFile error. Error is " << (char *)lpMsgBuf
<<" for the directory : "<<dirName);
return -1;
}