Use TEXT("The title of my window") instead of "The title of my window".

And for a much simpler way to create a window, I'll prefer you to use Dialog Editor to create a Dialog window and call that by CreateDialog() or DialogBox(). It'll pretty much easy to you.