03-18-2010 02:35 AM
I've been developing a CVI application compatible with multibyte character set, so I read this document.
I want to use the Multibyte ANSI Extension Functions (i.e. _mbslen, _mbscpy, ...) but I have a question: my application runs on an English Windows XP, but I want to manipulate both single-byte and multibyte characters (for example English, Chinese, Japanese, ...).
Are these functions multibyte aware without defining any symbol (_MBCS I think) as I should do with Microsoft Visual C++?
03-23-2010 08:26 AM
Hello Vix,
I'm not sure about the chance to avoid symbol definition, but i know LabWindows/CVI provides for a tool to allow you to use multibyte strings as labels and user interface (UI) text. The UI localization utility (Start»Programs»National Instruments»Measurement Studio»Utility Programs) supports multibyte languages and you can load multibyte strings from files and display them properly.
I would suggest to take a look to this KnowledgeBase:
Using LabWindows/CVI Localization Utility with Single/Multiple Byte Languages
Please let me know if yuo need additional help.
Cheers