Unicode

BlitzMax Forums/BlitzMax Programming/Unicode

dan_upright(Posted 2014) [#1]
While digging around in the mod sources, I've noticed the following being used to determine which version of CreateWindowEx to call:
Extern

Global _bbusew

End Extern

Does this mean that max is using unicode automatically depending on your windows version? Or do I have to set something to tell it to use wide strings?


col(Posted 2014) [#2]
Pretty much... yeah.

The real variable is defined in blitz.mod/blitz_app.c, and set at line 199 in the same file for any c code that wants to use it ( or the 'max run time library - as you could call it ). That what you have there is just a reference to it so that any 'Max code knows the value too.