jarmo / RAutomation

RAutomation
MIT License
100 stars 33 forks source link

Update FFI #128

Closed jacob-ewald closed 4 years ago

jacob-ewald commented 4 years ago

This PR updates FFI to the current version, 1.11.3. Closes issue #125 Since I only have VS2019 on my machine, I also updated the build tools. Some of the specs were failing because it seems that the Win10 version of the calculator application spawns in a separate process that does not match the expected PID. Instead, I switched to spawning notepad processes, which behave as expected.

One oddity that I came across was the press and release mouse events were not working for me until I sent the messages a second time. I'm not sure if that is unique to my machine though. If that ends up not being needed I can remove the commit, but wanted to point it out. EDIT: I tested these changes on a Win7 box and the double press/release was not needed. So this problem seems to only be an issue on Win10.

jarmo commented 4 years ago

Released 1.0.0 - thanks!

jacob-ewald commented 4 years ago

Thanks @jarmo!