S
Samant.Trupti
Hi,
I have to a project which I am converting it to Unicode. I am
getting following error. I am not sure How to fix it.
error C2664: 'LogFile::LogToFile' : cannot convert parameter 1 from
'const unsigned short [65]' to 'std::string'
The code is
#define MAIN_LOG_FILE ".\\ABC.log"
Defination LogToFile(std::string message, std::string fileName);
I am calling this LogToFile("My Name", MAIN_LOG_FILE)
I have tried using "L" and "_T" It is not working.
Can you please help?
Thanks
I have to a project which I am converting it to Unicode. I am
getting following error. I am not sure How to fix it.
error C2664: 'LogFile::LogToFile' : cannot convert parameter 1 from
'const unsigned short [65]' to 'std::string'
The code is
#define MAIN_LOG_FILE ".\\ABC.log"
Defination LogToFile(std::string message, std::string fileName);
I am calling this LogToFile("My Name", MAIN_LOG_FILE)
I have tried using "L" and "_T" It is not working.
Can you please help?
Thanks