Here's one way I got it to work.

// #ifndef UNICODE
// #define UNICODE
// #endif
#include <windows.h>

WNDCLASS wc = {};
HWND hwnd;
const char szNAME[] = "Sample Window Class";