String^ problem
-
Hello, I am confused about the type of vc++ .NET. I want to use the string typed in the Textbox. The property "Text" of Textbox has the type "string^". I want to change it to char*. I use the TextBox->Text->ToCharArray, but it is not char* type. It is wchar_t type. How could I convert the string^ type to char*? Appreciate your reply. Thank you. Jane
-
Hello, I am confused about the type of vc++ .NET. I want to use the string typed in the Textbox. The property "Text" of Textbox has the type "string^". I want to change it to char*. I use the TextBox->Text->ToCharArray, but it is not char* type. It is wchar_t type. How could I convert the string^ type to char*? Appreciate your reply. Thank you. Jane
You asked on the wrong forum it was better you asked (Managed) C++/CLI[^].
-
You asked on the wrong forum it was better you asked (Managed) C++/CLI[^].
-
You asked on the wrong forum it was better you asked (Managed) C++/CLI[^].
Hamid. wrote:
You asked on the wrong forum it was better you asked (Managed) C++/CLI[^].
i just going to do same.. you beat me this time!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You
-
Hamid. wrote:
You asked on the wrong forum it was better you asked (Managed) C++/CLI[^].
i just going to do same.. you beat me this time!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You
Do you want to learning C++.Net?
-
Do you want to learning C++.Net?
Hamid. wrote:
Do you want to learning C++.Net
yea want to.. any online tutor
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You
-
Hamid. wrote:
Do you want to learning C++.Net
yea want to.. any online tutor
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You
-
Hamid. wrote:
If you remember we have a member on the codeproject Mr Nishant Sivakumar it has a good site see C++/CLI [^] for start.
:-D
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You
-
-
You're welcome.;)