Thanks,
Richard.
You accomplish this in three steps:
1. First you resize the LV string to accomodate your C++ string using
the function NumericArrayResize(). For example:
NumericArrayResize(uB, 1L,(UHandle *)&LV_string, cpp_string_size);
2. Then, update the length of the LV string. For example:
LStrLen(*LV_string) = cpp_string_size;
3. Finally, move the bytes from your C++ string to the LV string using
the function MoveBlock(). For example:
MoveBlock(cpp_string, LStrBuf(*LV_string), cpp_string_size);
If your C++ string is of the type CString, then you need to use the
function LPCTSTR() to obtain the pointer of the character string.
Regards;
Enrique