glib/gmodule
Tor Lillqvist 28bd47860b When looking for symbols in the "main" module we must search both the main
2000-03-23  Tor Lillqvist  <tml@iki.fi>

* gmodule-win32.c (_g_module_symbol): When looking for symbols in
the "main" module we must search both the main program and all
currently loaded DLLs. Not only the main program, or even just the
DLLs loaded as gmodules.  Libglade requires this.

Thus we need to get a list of all modules in the current
process. There are two alternative APIs to do this: PSAPI and
Toolhelp. The former is only available on NT (including Win2k),
the latter on Win9x and Win2k. Check which one works, and use
that.

Code for using PSAPI and Toolhelp was borrowed from the Dr. Mingw
tool written by José Fonseca <em96115@fe.up.pt>. Thanks.
2000-03-22 22:34:48 +00:00
..
.cvsignore Shut up cvs 1999-01-05 20:28:45 +00:00
AUTHORS initial import of gmodule. 1998-08-09 08:32:18 +00:00
ChangeLog When looking for symbols in the "main" module we must search both the main 2000-03-22 22:34:48 +00:00
COPYING initial import of gmodule. 1998-08-09 08:32:18 +00:00
gmodule-beos.c do not return NULL symbols. 2000-03-01 04:57:07 +00:00
gmodule-dl.c do not return NULL symbols. 2000-03-01 04:57:07 +00:00
gmodule-dld.c do not return NULL symbols. 2000-03-01 04:57:07 +00:00
gmodule-os2.c do not return NULL symbols. 2000-03-01 04:57:07 +00:00
gmodule-win32.c When looking for symbols in the "main" module we must search both the main 2000-03-22 22:34:48 +00:00
gmodule.c New function that returns the message string for a Win32 error code. 2000-03-01 04:57:07 +00:00
gmodule.def applied glib-tml-981120-0, change log appended below. 1998-11-25 03:02:56 +00:00
gmodule.h Don't crash if removing a nonexistent value. 1999-10-31 12:15:34 +00:00
gmodule.rc.in Move to corresponding subdirectories. 2000-02-07 21:22:30 +00:00
gmoduleconf.h.in Port to BeOS by myself and Richard Offer. 1999-05-08 07:40:44 +00:00
gmoduleconf.h.win32 New function that returns the message string for a Win32 error code. 1998-10-27 04:11:32 +00:00
libgplugin_a.c New function that returns the message string for a Win32 error code. 2000-03-01 04:57:07 +00:00
libgplugin_b.c New function that returns the message string for a Win32 error code. 2000-03-01 04:57:07 +00:00
Makefile.am Move to corresponding subdirectories. 2000-02-07 21:22:30 +00:00
testgmodule.c New function that returns the message string for a Win32 error code. 2000-03-01 09:44:10 +00:00