I need help, what's wrong with this code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I need help, what's wrong with this code?

CreateWindow(TEXT("button"), TEXT("KoniecTury"), WS_VISIBLE | WS_CHILD, 10, 10, 50, 25, HWND, (HMENU) 1, NULL, NULL); It says ( expected primary-expression before',' token ) in the first line of that CreateWindow thing c++ btw Someone help plzzzzzz

16th Apr 2019, 8:05 PM
Eryk Marciniak
Eryk Marciniak - avatar
2 Answers
+ 1
What is CreateWindow? A function? From which library? Is it included? Is this a function of yours?
17th Apr 2019, 7:42 AM
Alexander Velinov
Alexander Velinov - avatar
+ 1
#include <windows. h>
17th Apr 2019, 11:25 AM
Eryk Marciniak
Eryk Marciniak - avatar