Author Topic: Problems building C++ code using a Serial library  (Read 7485 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Problems building C++ code using a Serial library
« Reply #15 on: June 17, 2020, 02:58:54 pm »
The right way to do this is probably add
Code
UNICODE
in Project->Build options->Select your project name on the left->Compiler settings->#defines

i was thinking
Quote
wxUSE_UNICODE
expands to this on windows, but i was wrong....

A lot of the CB Project I look at add both "UNICODE" and "_UNICODE".

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org