Skip to content

Instantly share code, notes, and snippets.

@SoulFireMage
Last active January 12, 2016 12:16
Show Gist options
  • Save SoulFireMage/7aa4429c5f42602aa5c9 to your computer and use it in GitHub Desktop.
Save SoulFireMage/7aa4429c5f42602aa5c9 to your computer and use it in GitHub Desktop.
Example from Daniel Fabian of using his Dynamic pinvoke library - gist created for blog!
//By Daniel Fabian
open FSharp.InteropServices.Dynamic
let user32 = Library("user32.dll")
(user32?MessageBox(0, "Hello world", "MyTitle", 0) : unit)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment