CreateWindow("BUTTON".toUTF16z, // window class name
fyi for a string literal like this you can just do
"BUTTON"w.ptr // note the w
This gives an error saying: Cannot pas argument of type 'int' to argument of type 'void*'. How is this fixed?
Use lowercase `null` instead.