Hello, On Sun, May 16, 2010 at 3:27 AM, Lex Trotman <elextr@xxxxxxxxx> wrote: > On 16 May 2010 06:56, Kurucz István <kurucz.istvan@xxxxxxxxx> wrote: >> I would use a string in my module: >> >> in my module: >> G_MODULE_EXPORT extern const gchar *foobar_name = "foobar"; >> >> >> in main application: >> >> gchar* test; >> g_module_symbol(module, "foobar_name", (gpointer*)&test); > > Assuming you opened module and tested the return?? > > Now test the return of g_module_symbol and use g_module_error to find out > the error. Yes, module opening is success. g_module_error() result has nothing special. It works fine with functions, but I cannot access other symbols (eg. variables). Thanks: Kurucz István _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list