GithubHelp home page GithubHelp logo

navaneeth-dev / w32 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xustyx/w32

1.0 0.0 0.0 288 KB

IN PROGRESS - A wrapper of windows apis for the Go Programming Language. Star to encourage more features!

License: Other

Go 100.00%

w32's Introduction

About w32

w32 is a wrapper of windows apis for the Go Programming Language.

It wraps win32 apis to "Go style" to make them easier to use.

This includes

  • advapi32.dll with golang
  • comctl32.dll with golang
  • comdlg32.dll with golang
  • dwmapi.dll with golang
  • gdi32.dll with golang
  • gdiplus.dll with golang
  • idispatch.dll with golang
  • istream.dll with golang
  • iunknown.dll with golang
  • kernel32.dll with golang
  • ole32.dll with golang
  • oleaut32.dll with golang
  • opengl32.dll with golang
  • psapi.dll with golang
  • shell32.dll with golang
  • user32.dll with golang

Example

package main

import (
	"github.com/Xustyx/w32"
)

func main() {
	w32.MessageBox(0, "Hello World!", "Hello, World!", 0)
}

For more examples, look at the example folder.

Setup

  1. Install Go. I recommend 32bit aka i386 due to GCC 64bit issues on windows.
  2. Get a GCC compiler. I recommend the WinBuilds version. (I removed 2 functions that require it until not needed)
  3. In command line, type go get github.com/Xustyx/w32
  4. Create a new file, and try the example above.

Contribute

Contributions in form of design, code, documentation, bug reporting or other ways you see fit are very welcome.

Thank You!

w32's People

Contributors

allendang avatar xackery avatar henkman avatar anschelsc avatar bsiegert avatar danieljoos avatar hut8 avatar xustyx avatar bbigras avatar biorhitm avatar taruti avatar hnakamur avatar abduelhamit avatar rygorous avatar navaneeth-dev avatar nbareil avatar paulmaddox avatar saintfish avatar beatgammit avatar mattn avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.