compile error :/ from [Writing your own C++ Trainer]
Hello i try to compile these trainer
http://www.mpgh.net/forum/17-tutoria...c_trainer.html
and i received these errors
Code:
1>trainer.cpp
1>..\trainer.cpp(40) : error C2664: 'strcmp' : cannot convert parameter 1 from 'WCHAR [260]' to 'const char *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
can anyone help me out?
If you post your source i'll fix it for you or is the code at that link what you're using?
yes i use from the link above.. if you can fix the error this would be nice.
you can post the fixed code here if you want
Did you make any changes to the original source? I assumed the original as is would compile and your first error isn't even rellevant to the original code as far as I can see.
You created the project in MSVS as a Win32 windows application when it should have been a win32 console application.