Now there is another problem in compiling the code:
error: cannot convert 'const char*' to 'const TCHAR*'
You have supplied no information as to what you where to doing, so there is no way to say what is wrong, apart from the obvious error that the complier is reporting - namely, a type conversion problem, probably due to TCHAR not defined in your code, probably due to missing includes.
Try adding #include <windows.h>