find_dll_file ignoring WINEDLLPATH?

Erik de Castro Lopo mle+win at
Sun Mar 30 04:30:55 CDT 2008

John Klehm wrote:

> Well you could have a script to recopy it there but there is one more
> way I thought of that you could add the path (provided you dont remove
> your .wine folder very often)
> wine regedit
> Then edit
> \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
> Manager\Environment\Path

Thanks for your helpful suggestions, but this still isn't a good
solution. I hope to encourage others to do cross-compiled development
of libsndfile from Linux to windows and I would like to have all of
them hack their windows registry. It just seems too fragile.

However, I notice that if instead of copying the library I make a
symlink instead, the executable runs correctly. Of the solutions
I've seen so far, this is the least fragile and most easily 
implementable solution.

Erik de Castro Lopo
"Testing can prove the presence of bugs, but never their absence."
  -- Edsger Dijkstra

More information about the wine-devel mailing list