cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

uchar_t to UniString conversion

Hello everyone,

im struggling a little bit with the the roomName of the API_​ZoneType. It's an array of type GS::uchar_t and i want to convert it to Unistring to export it to an excel sheet with LibXl. Anyone has an idea how this can be done? Thanks in advance!
1 Solution

Accepted Solutions
Tibor Lorantfy
Graphisoft Alumni
Graphisoft Alumni
You can simply use the operator= or the constructor function of the GS::UniString.
GS::UniString	roomNameUniStr = elem->zone.roomName;

Go to post

2 Replies 2
Tibor Lorantfy
Graphisoft Alumni
Graphisoft Alumni
You can simply use the operator= or the constructor function of the GS::UniString.
GS::UniString	roomNameUniStr = elem->zone.roomName;
Anonymous
Not applicable
Tibor wrote:
You can simply use the operator= or the constructor function of the GS::UniString.
GS::UniString	roomNameUniStr = elem->zone.roomName;
Thanks Tibor! That was easy. 😃

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!