Genx Posted August 19, 2006 Posted August 19, 2006 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
John Kornhaus Posted August 22, 2006 Posted August 22, 2006 To extract the characters from an fmx::Text object, use the GetBytes() or GetUnicode() functions.
Genx Posted August 22, 2006 Author Posted August 22, 2006 I swear to you that i tried, but it didn't work properly. I'll give it another go. Cheers
Recommended Posts
This topic is 6736 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now