Christoffer Lerno

Results 1219 comments of Christoffer Lerno

Unless there is something to add to this I'll close it?

There are no native GUI examples, but you can have a look here at the standard lib invoking Win32 functions: https://github.com/c3lang/c3c/blob/master/lib/std/threads/os/thread_win32.c3 So win32 functions can be called directly in this...

:+1: Were there any more steps you needed to do to get up and running?

I'm just thinking about how to properly support this in depth. For example, `main` could offer you to use: `main(void* hInstance, String[] args, int showcmd)`, matching hInstance, the command line...

I am working on fixing this problem, it's just been taking a little while.

Ok, so what you want to do now is to add `@winmain` after your main, so for example: ```c fn void main(String[] args) @winmain { ... code ... } ```...

@Spoiledpay can I close this issue?

Can you add unit tests too? You could use the tests for quicksort and apply them to this.

This is actually a bug. You can try declaring globals in the same way and they all get the same alignment as expected.