Error type conversion?

Here's the code,remember when I had the L key to set the rows and now something new again again
if (!UnregisterClass(L"My Window", hinstance))
{
 }

Error C2664 "BOOL UnregisterClassA(LPCSTR,HINSTANCE)": cannot convert argument 1 from "const wchar_t [10]" to "LPCSTR"
March 19th 20 at 09:12
1 answer
March 19th 20 at 09:14
Solution
Removed L-well earned, although one Studio requires L other seems not

Find more questions by tags C++