Re: Fwd: Plans for GTK+ Bundles for win32 and win64?

On Thu, 08 Sep 2011 21:55:41 +0200, Dieter Verfaillie wrote:

> If so, a well placed SetDllDirectory(lpPathName) [1]
> before loading the plugin could solve that as it places lpPathName
> between the main executable and the system directory in the dll search
> order. SetDllDirectory(NULL) can be used to restore the search order
> to it's default again.

The directory is known, but SetDllDirectory isn't inherited by child
processes (Gimp's plugins are separate executables).

> But that would only work for Windows XP SP1 and newer...

Not a problem, I've had SP2 as requirement for a long time.

< Jernej Simončič ><><><><>< >

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]