Does LabWindows™/CVI Support the Unicode Character Set?

Updated Mar 28, 2018

Reported In

Software

  • LabWindows/CVI

Issue Details


I am using LabWindows™/CVI and would like to use characters from the Unicode character set. When I define _UNICODE in the preprocessor, the linker gives an error stating that default libs conflict with other libs.

I'm trying to access a data type in an external application from CVI that uses Unicode characters, and I keep receiving errors saying that the data types are incompatible.

Solution

LabWindows/CVI does not support the Unicode character set. As a result, the wide character type wchar_t is identical to the single-byte char type. LabWindows/CVI accepts wide character constants that you specify with the L prefix (as in L'ab'), but only the first character is significant. Furthermore, library functions that use the wchar_t type operate only on 8-bit characters.

Additional Information

This information is available under the help topic "Standard Language Additions" in the LabWindows/CVI Help. See this section for more information.

WAS THIS ARTICLE HELPFUL?

Not Helpful