I'm practicing Windows Phone App development and am writing a test app at the
moment. I'm having issues with converting string/char or any other type for that
matter to String^ which I need for output in my components.
I've checked Google, msdn library and stack overflow and I didn't come to any useful information. There was one conversation method but it throws me an error saying that my "include" is not a valid Assembly.
All I want to do is make something like this work.
1 2 3
string output = "Hello";
//MyTextBox is a textBox component created in XAML
MyTextBox->Text = output; // gives compilation error below
cannot convert argument 1 from 'std::string' to 'Platform::String ^'
MyTextBox->Text is of type String^ which is (I assume) a reference to Platform::String.
If anyone can provide some insight on this matter I would be eternally grateful.