How to compile c++ program with UNICODE for creating excel files?

Joey Thijssen (student) 0 Reputation points
2023-02-07T08:12:07.1833333+00:00

When using command "cl <filename>.cpp" I keep getting errors that the wchars cannot be converted to chars. The program does however run perfectly in Visual Studio when using the Local Windows Debugger. Do I need to convert everything? Because when doing that the Local Windows Debugger will give me errors and I am expecting that it will not write in the excel file properly.

Developer technologies C++
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.