summaryrefslogtreecommitdiff
path: root/Editor/Win/Win.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Editor/Win/Win.cpp')
-rw-r--r--Editor/Win/Win.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/Editor/Win/Win.cpp b/Editor/Win/Win.cpp
new file mode 100644
index 0000000..f6310e2
--- /dev/null
+++ b/Editor/Win/Win.cpp
@@ -0,0 +1,18 @@
+#include "win.h"
+
+namespace Win
+{
+
+ std::string GetCurrentWorkingDirectory()
+ {
+ char path[MAX_PATH];
+ GetCurrentDirectory(MAX_PATH, path);
+ return path;
+ }
+
+ void SetDllSearchDirectory(std::string path)
+ {
+ SetDllDirectory(path.c_str());
+ }
+
+} \ No newline at end of file