win32-api
win32-api copied to clipboard
A different, better variant of the Win32API Ruby library
Currently [a test](https://github.com/cosmo0920/win32-api/blob/9886db6d7f4d917864b9b544055c04993eac694e/test/test_win32_api_callback.rb#L48) is omitted due to a crash bug on latest RubyInstaller such as v2.7.5: https://github.com/cosmo0920/win32-api/runs/4948175686?check_suite_focus=true#step:5:63 ``` 2022-01-26T07:36:27.1610716Z -- C level backtrace information ------------------------------------------- 2022-01-26T07:36:27.1669065Z C:\Windows\SYSTEM32\ntdll.dll(NtWaitForSingleObject+0x14) [0x00007ffdee1ffa74] 2022-01-26T07:36:27.1697069Z C:\Windows\System32\KERNELBASE.dll(WaitForSingleObjectEx+0x93)...
The universal-mingw32 gem `1.10.1` contains .so for `Ruby 3.1` but the `api.rb` does not have support for `Ruby 3.1`. I believe the code in between the comments is missing: ```...
- Universal gem does not have binaries past ruby 3.0 for 1.10.1 - testing on 3.2.2 x64-mingw-ucrt, the --platform=ruby gem compiles fine, loads fine when gemfile.lock is set to use...
The Win32-api gem is super stale and was last updated like 3-4 years ago. We had to update it for ucrt libs. That required a full rename for us to...