Difference between win32api.rb and win32api.so?
-
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?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement