LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Does Labwindows/cvi support the statement: _T("")

It seems that the complier doesn't support the statement like _T(""). Does there exist any method to solve this problem?
Thank a lot.
0 Kudos
Message 1 of 3
(3,261 Views)
_T macro is used in languages that support UNICODE strings: depending on whether _UNICODE macro is defined, permits treating all strings as unicode os simple ansi strings. Considering that CVI does not support unicode strings you should consider removing it from your code.

Message Edited by Roberto Bozzolo on 02-20-2008 10:32 AM


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,246 Views)
Or you could just do:

#define _T(a) (a)

at the top of your code.

--
Martin
Certified CVI Developer
0 Kudos
Message 3 of 3
(3,234 Views)