News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Problems building C++ code using a Serial library

Started by PaulUK, June 16, 2020, 04:28:44 PM

Previous topic - Next topic

stahta01

Quote from: BlueHazzard on June 17, 2020, 10:41:35 AM
The right way to do this is probably add
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++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]