The compiler is inticating a string conversion error; specifically, it says you're trying to mix narrow and wide strings. Those are, strings based on char and strings based on wchar_t.
That macro, TCHAR, varies depending on whether _UNICODE is defined or not.
In your case, you don't really care about converting from one string type to the next. You should switch off Unicode strings in your project. If you're using Visual Studio:
1. Open Project Properties
2. Go to Configuration Properties -> General
3. Go to Character Set setting
4. Select Not Set
If you're not using Visual Studio, do something similar to your environment. If you can't fiugure out what ot do, you can force it in your code by adding this to the top of your program: