Discussion:
[ruby-ffi] Re: Unloading Windows DLLs
Denis Savchuk
2015-07-01 20:20:39 UTC
Permalink
Hello!

Can you, please, help me? I want to create wrapper for dll driver for
windows. How to do it? Can you, please, send me example with comments?

втПрМОк, 25 Ќарта 2014 г., 14:14:37 UTC+4 пПльзПватель
Hi,
ffi works fine and loads my windows DLL, but how can I unload the DLL.
I need a possibility to unload the DLL, because I want to delete the DLL
after use.
Thanks for your help.
Olaf
--
You received this message because you are subscribed to the Google Groups "ruby-ffi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-ffi+***@googlegroups.com.
Visit this group at http://groups.google.com/group/ruby-ffi.
To view this discussion on the web visit https://groups.google.com/d/msgid/ruby-ffi/b7107829-13e4-4762-903f-8b0ff3a7f0cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Daniel Berger
2015-08-11 13:33:26 UTC
Permalink
Hi,
ffi works fine and loads my windows DLL, but how can I unload the DLL.
I need a possibility to unload the DLL, because I want to delete the DLL
after use.
Thanks for your help.
Olaf
I don't know that there's a builtin method within FFI to do that. Would
calling FreeLibrary() work?

Regards,

Dan
--
You received this message because you are subscribed to the Google Groups "ruby-ffi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-ffi+***@googlegroups.com.
Visit this group at http://groups.google.com/group/ruby-ffi.
To view this discussion on the web visit https://groups.google.com/d/msgid/ruby-ffi/daa417c3-2840-480e-9ea3-1c4fe4648eaa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...