"Evan Stade" estade@gmail.com writes:
- wndClass.lpszClassName = TEXT(ClassName);
- if(!RegisterClassA(&wndClass)) return FALSE;
This is broken, TEXT() doesn't work on a variable name, and it's useless since you call the A function anyway.
Please don't use any of the ugly TCHAR macros in tests, there's no need for them. Either A/W doesn't matter and you can simply use plain Ascii strings, or it does matter and then you have to explicitly test both cases.