I have searched the internet and there is very little information about this and I keep getting sent to Visual Basic or c# sites for information.
My problem is this I have a text box on my form and I want to enter the text from the text box to use in the program.
I was told that
string formula = textBox1->Text;was the code for extracting the string. But I get to the following error:
Form1.h(121): error C2440: 'initializing' : cannot convert from 'System::String ^' to 'std::basic_string<_Elem,_Traits,_Ax>'
on the MSDN site it says that you can use the Marsheling library, however, it does not say how. Where would the code go?
I have tried using the header "marshal.h" but I get an error message to say that directory is not found.
I would really appriciate any help at all on this.