|
-
April 28th, 2011, 10:09 AM
#1
please hep textBox1->Text = s;
string s;
s = "kamil";
textBox1->Text = s;
and I have an error message
1>Dizi.cpp
1>c:\vc\dizi\dizi\Form1.h(112) : error C2664: 'void System::Windows::Forms::Control::Text::set(System::String ^)' : cannot convert parameter 1 from 'std::string' to 'System::String ^'
1> No user-defined-conversion operator available, or
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>Build log was saved at "file://c:\VC\Dizi\Dizi\Release\BuildLog.htm"
1>Dizi - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
please help me?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|