X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FcreaSystem.cxx;h=1346a08a085d16efc80fe686fde8a6d75f5ab975;hb=fbe2c10bce301f4532a1eaed60df329889c300d5;hp=49ca11f93bf3c8192e81987a8a2a7b139cf724b7;hpb=344d600edaecc470f90bab73ea58b1bcb7bcba2b;p=crea.git diff --git a/src/creaSystem.cxx b/src/creaSystem.cxx index 49ca11f..1346a08 100644 --- a/src/creaSystem.cxx +++ b/src/creaSystem.cxx @@ -230,8 +230,14 @@ std::string System::GetExecutablePath(){ void System::createDirectory(const char* directorypath){ #ifdef WIN32 - //TODO - CreateDirectory(directorypath); + if (CreateDirectory(directorypath, NULL) == ERROR_ALREADY_EXISTS) + { + std::cout<<"directory already exists "<