Nothing has been indexed for 0.2.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.

Installation

# Add this to your shard.yml
dependencies:
  win32cr:
    github: dsisnero/win32cr
    version: ~> 0.2.0

Then run:

shards install

shard.yml

No shard.yml has been indexed for 0.2.0. You can read it on the repository.

Dependencies

Unknown: the shard.yml for this version has not been read yet.

README

This README is the one indexed from the repository at its latest ref, not from the tag for this version.

win32cr

CI Crystal Latest CI

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

  1. Fork it (https://github.com/mjblack/win32cr/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors