diff options
| author | Ginger Bill <bill@gingerbill.org> | 2016-12-09 00:07:08 +0000 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2016-12-09 00:07:08 +0000 |
| commit | 0d69dfcde6baea4fba80d2456986a00c072ad5c9 (patch) | |
| tree | 5c8e57736b8184bd7f099b4eecbfa8a1c8718955 /code | |
| parent | fa89d2775a61b1e6943909ff5c96a1e01892d8c9 (diff) | |
Custom entry points on Windows (DllMain; WinMain)
Diffstat (limited to 'code')
| -rw-r--r-- | code/demo.odin | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/code/demo.odin b/code/demo.odin index 296bbfa6e..767eda259 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -18,6 +18,7 @@ main :: proc() { } defer win32.FreeLibrary(lib) + proc_handle := get_proc(lib, "some_thing") if proc_handle == nil { fmt.println("Could not load 'some_thing'") @@ -25,5 +26,6 @@ main :: proc() { } some_thing := (proc_handle as proc()) + fmt.println(some_thing) some_thing() } |