You might try passing (LPCWSTR)"blargh" rather than L"blargh"
Why would you convert a const char* pointer to a const wchar_t*? I can't think of a situation where that even makes sense.
He isn't. Did notice the title of the thread? CreateWindowExW points out that this is a unicode build.