Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

wxscintilla unicode fixes needed

<< < (2/2)

rickg22:
Note: Sometimes unicode errors are shown as linker errors, since the linker is looking for a function with a WCHAR as parameter but only finds functions with CHAR's, and viceversa.

grv575:
Found out the problem.  It's pretty stupid since I ran into something similar and posted about it before.  You get those linker errors if you forget to change the wx/setup.h file:

//#define wxUSE_UNICODE 0
#define wxUSE_UNICODE 1

So, those errors appear if the wxUSE_UNICODE flag is not set to 1.  I'll add something to the wiki since it's the second time I've made this mistake.

Navigation

[0] Message Index

[*] Previous page

Go to full version