win32cr
Version, currently 1.2.114 versions
- 1.2.1latestFeb 11, 2025
- 1.2.0not indexedMar 26, 2026
- 1.1.0not indexedMar 26, 2026
- 1.0.1not indexedMar 26, 2026
- 1.0.0not indexedMar 26, 2026
- 0.3.7not indexedMar 26, 2026
- 0.3.6not indexedMar 26, 2026
- 0.3.5not indexedMar 26, 2026
- 0.3.4not indexedMar 26, 2026
- 0.3.3not indexedMar 26, 2026
- 0.3.2not indexedMar 26, 2026
- 0.3.0not indexedMar 26, 2026
- 0.2.3not indexedMar 26, 2026
- 0.2.0not indexedMar 26, 2026
github.com/mjblack/win32cr
Crystal library for Win32 API
20 stars
1 dependent
License: MIT
Installation
# Add this to your shard.yml
dependencies:
win32cr:
github: mjblack/win32cr
version: ~> 1.2.1Then run:
shards installshard.yml
- Crystal
>= 1.15.0- License
- MIT
- Author
- Matthew J. Black
Dependencies
Runtime Dependencies
- winmd*github: mjblack/winmd
README
win32cr
Win32 library bindings generated by mjblack/winmd using marlersoft/win32json.
Installation
Add this to your application's shard.yml:
dependencies:
win32cr:
github: mjblack/win32cr
Build WinMD by executing the script build.ps1 in the location where the shard win32cr is installed.
C:\Projects\SomeCrystalApp\lib\win32cr> & .\build.ps1
Usage
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)
Contributing
- 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
Contributors
- Matthew J. Black - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
1.2.1- Tagged
- Feb 11, 2025
- Commit
b0dee458ab4d- Crystal
>= 1.15.0- Indexed
- yes
Dependents
Repository
github.com/mjblack/win32cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Sep 29, 2026
- Synced
- Sep 29, 2026
- Versions
- 14