06-11-2008 08:23 AM
06-11-2008 11:09 AM
Many thanks to Jervin Justin for his repies:
MSDN: WideCharToMultiByte
http://msdn.microsoft.com/en-us/library/ms776420(VS.85).aspxHeader: Declared in Winnls.h; include Windows.h.
Library: Use Kernel32.lib
Also, I would look at the following article which may be helpful in the future.
MSDN: Unicode and Character Set Functions
http://msdn.microsoft.com/en-us/library/ms776415(VS.85).aspx
One additional note...
I found out that CVI's stdlib.h includes the following function:
wcstombs
And you can call this directly in CVI as long as you include "stdlib.h".
Thanks and have a great day
Jervin Justin
Applications Engineer
National Instruments
http://www.ni.com/support