Difference between win32api.rb and win32api.so?
-
so is there a difference? I can't find win32api.so in my ruby files (after I downloaded the full Ruby package) Is it obsolete now? Which should I use, win32api.so or win32api.rb? Thanks!
-
When I made some API calls I just wrote:
require 'Win32API'
I had not downloaded any extra packages....maybe some other plugin has it...
-
@thomthom said:
When I made some API calls I just wrote:
require 'Win32API'
I had not downloaded any extra packages....maybe some other plugin has it...
Check your plugins folder. I think another plugin likely has it.
-
There was a Win32API.so in my plugins folder. Not sure where it came from.
Is that part of an Ruby installation?
Since I use this for the UnicodeEx I need to find the source of this and ensure that UnicodeEx distribution include it. -
isn't .so files compiled C++?
-
Without looking, the .so would be a compiled library and the .rb is the 'friendly' interface.
-
@jim said:
Without looking, the .so would be a compiled library and the .rb is the 'friendly' interface.
So which should be used if a plugin wants to access the Win32API? Maybe it doesn't matter.
-
I only have the .so on my system + that seem to work.
I'd imagine that the compiled version would be faster. ...?
-
Hi Whaat,
Would you please post a link where I can download win32api.rb
Thanks, -
Win32API is included in the full download of Ruby. Here is a list from my Ruby install folder Ruby 1.8.6
Googling, I found no usable result for Win32API.rb except for JRuby.
-
@didier bur said:
Hi Whaat,
Would you please post a link where I can download win32api.rb
Thanks,yeah...i got it when i downloaded full ruby. Strangely enough, it did not include win32api.so. I think that the .so version is now obsolete (still works though)
-
what version did you download?
Advertisement