I am having trouble getting a MessageBox to compile in my program. My code looks like this:
I understand that parameter 1 is the window handle, and that parameters 2 and 3 are strings to display in the title bar and the body of the message box. When I try to compile, I will get a message "cannot convert constant char [#] to LPCWSTR". I try to use pointers to string objects or to char* arrays and I get "string undeclared identifier" or "cannot convert LPCWSTR to char__*64" (something like that, anyhow). I really hope this is something stupid that I am missing because message boxes will really help me out a lot. Thanks.Code:MessageBox(hWnd, "this is string 1" "this is string 2", MB_OK);