0001638: Not possible to draw anything.

This commit is contained in:
wmayer 2014-07-30 18:21:53 +02:00
parent 7294271c0c
commit e327662d28

View File

@ -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;
}