Reverted r815 and stopped changing the working directory for the plugins.

This commit is contained in:
spx
2011-05-23 20:21:19 +00:00
parent 7ae737fc0f
commit 31e3091e34
5 changed files with 22 additions and 48 deletions

View File

@ -74,9 +74,7 @@ public:
static OSPLATFORM GetOSPlatform();
static HMODULE RmLoadLibrary(LPCWSTR lpLibFileName, DWORD* dwError = NULL, bool ignoreErrors = false);
static void SetWorkingDirectory(const std::wstring& directory) { SetCurrentDirectory(directory.c_str()); }
static void ResetWorkingDirectory() { SetWorkingDirectory(c_WorkingDirectory); }
static void ResetWorkingDirectory();
static bool CopyFiles(const std::wstring& strFrom, const std::wstring& strTo, bool bMove = false);
static bool RemoveFile(const std::wstring& file);