I've only just started windows programming so this may be a stupid question but I'm having problems when creating windows. The following line: wc.lpszClassName = g_szClassName;
Generates the following error:
error C2440: '=' : cannot convert from 'const char *[]' to 'LPCWSTR'
I understand the error type, I've seen it before when I've made mistakes. I was under the impression that LPCWSTR was just the windows name for a pointer to a constant string.