}
#endif
-
-
int System::GetAppPath(char *pname, size_t pathsize)
{
#ifdef LINUX
#endif /* MACOSX */
return -1; /* Path Lookup Failed */
-}
-
+}
-std::string System::GetDllAppPath(std::string nomdll){
+std::string System::GetDllAppPath(std::string &nomdll){
std::string path = ".";
#ifdef WIN32
char currentPath[_MAX_PATH];
return path;
}
-
-
#if defined(_WIN32)
#define CREACONTOUR_VALID_FILE_SEPARATOR_CHAR '\\'
#else
printf("Could not determine current executable path ? ");
}
// remove the exe name
- char *slash;
+ char *slash;
slash = strrchr(name, CREACONTOUR_VALID_FILE_SEPARATOR_CHAR);
if (slash)
{
}
return name;
}
-
-
-
+
} // namespace crea