I was wondering redifining all string literals in my program from "const char*" to "const wchar_t*" ? was feasable.
MessageBox(0, "Important stuff", 0, 0);
The code above is how my code looks, since I changed the project character set from Unicode to multybite character set.
If I hadn't, would look like this
MessageBox(0, TEXT("Important stuff"), 0, 0);
MessageBox(0, L"Important stuff", 0, 0);
And I don't like random L all over the place or extra typing trough TEXT(), that's why I'm not using Unicode right now, but I know I will need it in order to use kanjis, therefore I would like to be able to type
MessageBox(0, "漢字禁止", 0, 0);
Without weird L or TEXT macro.
There is a way for me to instruct the compiler or whoever is that handle this stuff that all the literal strings in my program default to const wchar_t* instead of const char*?