Global data in DLL's how?
Craig Setera
setera@us.ibm.com
Fri May 22 17:33:00 GMT 1998
Let's see if I can explain what I think is happening in hopes that someone
can offer a decent solution.
I'm (still) trying to build DLL's for the GIMP. There are 3 libraries that make
up GTK (the Gimp Toolkit). GLib, GDK and GTK. In GDK, there is a file
that declares an number of global variables. If I build each of these into
separate DLL's, I find that the global variables don't seem to be shared
between GDK and GTK. It appears that each DLL is getting its own copy
of the variables rather than sharing a single copy.
So, other than providing functions (this would be a cleaner way to do it
in the first place) to retrieve the information from GDK is there a way to
make sure that each of the DLL's has access to the same copy of the
global data?
Thanks,
Craig
Craig Setera
AS/400 Enterprise Java Development
IBM Rochester
setera@us.ibm.com
(507) 253-3387 - Tie: 553-3387
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list