From e327662d28d0299c3172b508d324ce5dbf729c52 Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 30 Jul 2014 18:21:53 +0200 Subject: [PATCH] 0001638: Not possible to draw anything. --- src/App/Application.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/App/Application.cpp b/src/App/Application.cpp index 76a8b8846..591e1980c 100644 --- a/src/App/Application.cpp +++ b/src/App/Application.cpp @@ -2005,6 +2005,10 @@ std::string Application::FindHomePath(const char* sCall) *i = '/'; } + // fixes #0001638 to avoid to load DLLs from Windows' system directories before FreeCAD's bin folder + std::string binPath = TempHomePath; + binPath += "bin"; + SetDllDirectory(binPath.c_str()); return TempHomePath; }