Set dll directory in kleopatra
authorAndre Heinecke <aheinecke@intevation.de>
Mon, 21 Jul 2014 14:36:10 +0000 (16:36 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Mon, 21 Jul 2014 14:36:10 +0000 (16:36 +0200)
commit0ba85aa3b38c04b689f2688f2f11b11ebf0369d2
tree133b2f98cc1bd7b52bdd7ddcc8a34c5ec4055a11
parentee9da19f4085d470414fba5ea751d5aedd2603f6
Set dll directory in kleopatra

    With Windows XP SP2 the current working directory was only
    used as a last resort for loading DLL's. This caused problems
    when incompatible libraries were installed into the system
    directory or to be found in PATH. Kleowrap now prefers
    the working directory.

    * src/kleowrap.c (kleowrap_set_dll_directory): New.
    * src/kleowrap.c (main): Use kleowrap_set_dll_directory.
    --

    To be compatible with Windows XP < SP2 this is done conditionally
    by GetProcAddress.
src/kleowrap.c