Hi all!
I got a sample in Microsoft Developer about c++, but I can run in VS2003 and in VC++.NET Express I can't run this sample.
---------------------------------------------------
System::Globalization::NumberFormatInfo* nfi = new System::Globalization::NumberFormatInfo();
txtFileText->Text = String::Concat(txtFileText->Text, (__box(myNextInt)->ToChar(nfi)).ToString());
I think this error is code __box...
Anybody know how I can this
Ps. Sorry my English.

__box
Joakim Gyllstedt
Sorry my ignorance Ayman Shoukry!
I understood when you mentioned "old syntax", but I don't know how I can use a new syntax for my problem.
I want take a character with __box(intNewCharacter)
Do you know how
Thank You!
Remus Radu
Thanks,
Ayman Shoukry
VC++ Team
Li Wang
I find a solution!
static_cast<Char>(intNextCharacter)
Thank You Again!
Mikener
Thanks,
Ayman Shoukry
VC++ Team
Robert3234
Anybody know how I can replace __box in another function
Thanks!
Gawaine79
As you mentioned this is old syntax. You can use the compiler option /CLr:oldSyntax as mentioned at http://msdn2.microsoft.com/en-us/library/d6d8ft9s. I would really advise you to use the new syntax to achieve the same goal as described at http://msdn2.microsoft.com/en-us/library/c53ss7ze.
Also, the link http://msdn2.microsoft.com/en-us/library/xey702bw is a great place to know more about the new syntax.
Thanks,
Ayman Shoukry
VC++ Team