cannot convert from 'const char [14]' to 'LPCWSTR'-problems

Solution found on Google:
I had to change from unicode to MBCS.
I changed the setting in the projects properties to MBCS code.

I am completely new to win32-programming, so I apologize for stupid questions.

I have followed the MSDN-introduction, and created(well, copy-paste'd) a "hello world"-program from there, and it creates an window.

But now I've tried following a few tutorials, but they all end up with the same problems:

"cannot convert from 'const char [14]' to 'LPCWSTR'"

Always different numbers in "const char []", but always "...const char []...".

Where do I begin to search for the error?

I hope someone can help me,
I am an absolute beginner, in the "beginners tutorial"-phase.

Last edited on
Topic archived. No new replies allowed.