Skip to content

Commit

Permalink
0001638: Not possible to draw anything.
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jul 30, 2014
1 parent 7294271 commit e327662
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/App/Application.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit e327662

Please sign in to comment.