LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Multibyte ANSI Extension Functions in CVI

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++?

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 1 of 2
(3,422 Views)

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
Matteo
0 Kudos
Message 2 of 2
(3,380 Views)