On Wednesday, 9 December 2020 at 17:25:10 UTC, Ruby The Roobster wrote:
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.

Reply via email to