On Sun, 2005-10-16 at 00:54 +0300, Tor Lillqvist wrote: > Olivier Sessink writes: > > How can I fix the linking stage on cygwin/win32 ?? > > First, mark the functions in the sources for the main .exe that are to > be used by other modules with G_MODULE_EXPORT. > > Then you must decide whether you want to 1) restrict your plugins to > work only with an executable with the *exact* name you specify, or > whether you want it to be 2) more flexible and work even if you happen > to rename the main executable. > > In case 1), create an import library for the .exe using dlltool, and > link the plugin against that import library.
It seems to me that's using gcc and GNU tools but ... How can it be done with the MSVC compiler ? Thanks in advance. -- Iago Rubio _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list