Gtk::Module



 Hello.
 Try to load function from dll.

Glib::Module module("libfsdyn.dll");
  
if (module)
{
   cout << "Module found\n";
   void * function = 0;
   module.get_symbol("func1", function);
                
   (*function)();
}

But :
`void*' is not a pointer-to-object type

How to use function from library.


-- 
 Alexander                          mailto:rope-walker yandex ru




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]