On Wednesday, 9 December 2020 at 17:32:57 UTC, Adam D. Ruppe
wrote:
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.
It's not the 'NULL' that's the error. It doesn't compile because
of the '0'
. That is what I need to fix, since I want to make a WM_COMMAND
for that button.