Hi,
In a project i need to set "use unicode character set" for Configuration Properties>General>Character Set.
On compiling the project, error c2664 is returned on this code:
char Filename[25] = {0};
GetLocalTime(&st);
sprintf(Filename,TEXT("C:\\CpmMicr%02d%02d%04d.log"), st.wDay,st.wMonth,st.wYear);
When I change the character set configuration to "Not set" or "Multi-byte character set" project compiles without any errors.
Please suggest me on what should be done to fix this issue.
Thanks for any potential suggestions.
Lakshmi.