|
From: | Matthias Gehre |
Subject: | Re: [Mingw-cross-env-list] Static library support for GTK+ |
Date: | Thu, 15 Dec 2011 17:00:50 +0100 |
Hello! Please find attached patches to expose the DllMain's of some libs. This makes it possible to call them directly from application code to do necessary initialization. The *.patch files should go to src/, the *.diff files are to be applied to the source tree. References: http://lists.gnu.org/archive/html/mingw-cross-env-list/2011-11/msg00068.html Usage example: https://github.com/lightspark/lightspark/blob/master/src/compat.cpp#L112 Best wishes Matthias 2011/11/27 Dmitry Groshev <address@hidden>: > Hello! > > On 26/11/2011, Volker Grabsch <address@hidden> wrote: >> about the answer you received, as it important for us >> to know if it should work on Win32, or if this was never >> inteded to work on Win32. > > This is a well documented limitation of GTK+. See here: > http://developer.gnome.org/gdk/stable/gdk-Threads.html > http://developer.gnome.org/gdk3/stable/gdk3-Threads.html > "Unfortunately the above holds with the X11 backend only. With the > Win32 backend, GDK calls should not be attempted from multiple threads > at all." > > > -- > -= With best regards, Dmitry Groshev =- >
cairo-1-DllMain.patch
Description: Text Data
glib-2-DllMain.patch
Description: Text Data
gdk-pixbuf-DllMain.diff
Description: Text Data
atk-DllMain.diff
Description: Text Data
gtk2-DllMain.diff
Description: Text Data
pango-DllMain.diff
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |