Is it absolutely necessary to always build and register a new WNDCLASS(EX) for your application? And then use the lpszClassName for the main window?
Isn\'t there som
There are no pre-defined window classes for top-level application windows. You must register a window class for your application, or use a dialog.