I was messing around with a Win32 API tutorial today and I came across multiple errors when using MessageBox's - errors from the compiler regarding const char* and LPCWSTR conversion.
When doing research into the problem, I found that the solution was to change my project settings to use 'Multi-Byte Character Set.'
I have implemented this change and all is good, I just wanted to know why this is a solution, what has been changed?
The wide character version is for unicode strings, the other for ASCII strings. Wide character strings should be default. If you want to type a unicode string literal in your program, consider this: