Re: Gtk::Module
- From: Alexander Volosatov <rope-walker yandex ru>
- To: Bob Caryl <bob fis-cal com>
- Cc: gtkmm-list gnome org
- Subject: Re: Gtk::Module
- Date: Fri, 3 Mar 2006 18:37:36 +0200
Hello, Bob.
> Alexander Volosatov wrote:
>> 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.
>>
>>
>>
>>
> Try this:
> Glib::Module module("libfsdyn.dll");
> if (module)
> {
> void (*function)(void);
> cout << "Module found\n";
> module.get_symbol("func1", function);
> (*function)();
> }
> Bob
It doesn't work.
--
Alexander mailto:rope-walker yandex ru
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]