Getting WString in C++

2 posts / 0 new
Last post
Last seen: 1 week 4 days ago
Joined: 04/14/2022
Posts: 8
Getting WString in C++


FString NewValue = MyData.value<std::string>(TCHAR_TO_UTF8(*PropName)).c_str();

What would be the equivalent for a wstring of this line ?
I tried std::wstring but I get an unreadable error on complation.


Howard's picture
Last seen: 5 hours 50 sec ago
Joined: 11/29/2012
Posts: 381

So, I assume ahat "MyData" is a datatype defined in IDL for use by DDS?

If so, what is the IDL definition of "MyData"?

Do you change the IDL definition (and regenerate the type plugin) when you changed to use wstring?