Win32 library bindings generated by mjblack/winmd using marlersoft/win32json.
Add this to your application's shard.yml:
dependencies:
win32cr:
github: mjblack/win32crBuild WinMD by executing the script build.ps1 in the location where the shard win32cr is installed.
C:\Projects\SomeCrystalApp\lib\win32cr> & .\build.ps1
For more examples, please see the examples directory.
require "win32cr"
require "win32cr/ui/windows_and_messaging"
alias WM = Win32cr::UI::WindowsAndMessaging # Simplifies code
WM.messageBoxW(Pointer(Void).null, pwstr("Message Box Body"), pwstr("Title"), WM::MESSAGEBOX_STYLE::MB_OK)- Fork it (https://github.com/mjblack/win32cr/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
- Matthew J. Black - creator and maintainer