Last active
January 12, 2016 12:16
-
-
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!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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