Alex wrote: > So I added PATH=$PATH:dll/ on the project properties and now all is ok. This should also work in Wine. But you can not copy msvc runtime dlls into system32 directory - they will refuse to load from there. It's a special "feature" MS put in place to get around dll-hell. They just created a slightly different sxs-hell. Where you can have multiple versions of the same dll, and applications would find their specific version. Of course this means that old dll with bugs can't easily be upgraded.