I've been struggling with a new project in C++/CLI. I managed to fix most of my problems on this language (most of them were about translation from either C# or native C++ codes). But I still have one big problem:
I'm using a (native) C++ library as unmanaged code to retrieve information on images and stuff (basic OCR). This library gives me specific types on output. Most of them are either bool or int, so I can handle them in C++/cli, but I have a non-standard string output format (gxOutString) that I can't process. I just get an error saying:
m_codeString = reader.GetCodeString();
"there is no conversion between "gxOutString" and "System::String ^"
I know the images are processed and the code string recognized by the library (because checksum validations are returned true, also other variables checks out), but I haven't managed to do anything with this string which is the most important element to retrieve.
In console native C++ though, this variable can be printed in cout normally, and handled by C++ in Qt via QtString apparently (from other programs I have as examples).
How can I process this type so the rest of the managed C++/cli code can understand it?