gcnew is executed implicitely by some functions?
For instance the following code seems to work:
I did not have to perform in the .. section something likeCode:System::String^ TempStr; .. TempStr=String::Format("Bytes sent {0:D}\n",nbytes); textBox4->AppendText(TempStr);
Is that OK?Code:TempStr= gcnew System::String("");
Could you please answer also to this related thread
In Micros. VisStudio 2005 C++ : when I gcnew an object should I then free it somehow?
?
Thank you!



LinkBack URL
About LinkBacks



