Re: Fwd: Plans for GTK+ Bundles for win32 and win64?
- From: Jernej Simončič <jernej|s-gmane eternallybored org>
- To: gtk-devel-list gnome org
- Subject: Re: Fwd: Plans for GTK+ Bundles for win32 and win64?
- Date: Thu, 8 Sep 2011 22:04:13 +0200
On Thu, 08 Sep 2011 21:55:41 +0200, Dieter Verfaillie wrote:
> If so, a well placed SetDllDirectory(lpPathName) 
> 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č ><><><><>< http://eternallybored.org/ >
] [Thread Prev