Hello, 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);
if (test)
g_message("++ %s ++", test);
But wrong, pointer contain bad address, why?
Thanks:
Kurucz István
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list
