-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rautomation/adapter/win_32/functions.rb:298: [BUG] Segmentation fault #26
Comments
Also tried on another window (steam app, |
If I downgrade ffi to 1.9.18 the code: require "rautomation"
RAutomation::Window.new({context: :window, title: "Friends"}).active? emits:
Downgrading to 1.9.17:
Downgrading to rautomation 0.15.0 and |
With Ruby 2.0, uninstalled iteratively win32screnshot, rautomation, ffi and lowered versions of win32screenshot, until 1.0.6, where I got |
I have the same problem, and this is what i did:
You can also try with: Windows 7 (32 Bits) I'm late but that's all :) |
These problems might have been solved in version 3.0.0 (make sure that you are using 32bit Ruby, since win32screenshot does not work with 64bit version!). |
I'm new to this, does this mean it's impossible to interact with gdi32.dll with 64 bit Ruby? Does FFI not provide a way? Having to use 32 bit Ruby because of this kinda sucks. |
@tsujp unfortunately that's the case, yes. It is because RAutomation does not work with 64bit Ruby as of this moment. It is an older library, which is not actively maintained anymore, but PR-s are all welcome. |
Just installed Ruby to code a bit on Windows.
Windows 7
Ruby Installer: Ruby+Devkit 2.4.4-1 (x86)
The text was updated successfully, but these errors were encountered: