2019-07-31
12:16 PM
- last edited on
2022-10-04
04:25 PM
by
Daniel Kassai
UInt32 totalParams = BMGetHandleSize((GSConstHandle)memo.params) / sizeof(API_AddParType);
for (int i=0; i<totalParams ;i++){
GS::UniString pname = ((*memo.params).name);
if (pname=="search name"){
GS::UniString old_value = (*memo.params).value.uStr;
(*memo.params).value.uStr = "???????"; // how to set this
}
}
As i understand (*memo.params)GS::uchar_t my_chars[5] = ???;or can i convert a GS::Unistring to an uchar_t array? uchart_t seemes to be just a Utf16Char but i lack the understanding of those types. Any help would be aprreciated.
Solved! Go to Solution.
2019-07-31 12:48 PM
const GS::UniString tmpUStr ("TestName");
GS::ucscpy ((*memo.params)[ii].value.uStr, tmpUStr.ToUStr ());
2019-07-31 12:48 PM
const GS::UniString tmpUStr ("TestName");
GS::ucscpy ((*memo.params)[ii].value.uStr, tmpUStr.ToUStr ());
2019-07-31 02:09 PM