return path;
}
+
+std::string System::GetDllAppPath(const char *nomdll){
+ std::string path = ".";
+#ifdef WIN32
+ char currentPath[_MAX_PATH];
+ HMODULE hand = GetModuleHandle(nomdll);
+ GetModuleFileName(hand, currentPath, _MAX_PATH);
+
+ path = currentPath;
+
+ path = path.substr(0,path.find_last_of("\\"));
+#endif
+ return path;
+}
+
+
#if defined(_WIN32)
#define CREACONTOUR_VALID_FILE_SEPARATOR_CHAR '\\'
#else