August 19, 200619 yr Hi guys, Trying to write a plug-in, i've managed to get the data into Vis c++ using fmx:Text variables, the only issue is, i need to extract the data and turn it into a _bstr_t. (tried using the following, but it doesn't really seem to return anything: _bstr_t User(dataVect.AtAsText(0).kEncoding_Native) -- but even though it compiles it doesn't really return anything (i was guessing that kEncoding_Native would convert it to a format i could use, because otherwise the compiler throws an error.). Im sort of grasping at straws here -- i'm guessing it has something to do with pointers but could someone please, please give me a simple example of the extraction into a _bstr_t var? Cheers, ~Genx
August 22, 200619 yr To extract the characters from an fmx::Text object, use the GetBytes() or GetUnicode() functions.
August 22, 200619 yr Author I swear to you that i tried, but it didn't work properly. I'll give it another go. Cheers
Create an account or sign in to comment