Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert char* to System::Object^

Status
Not open for further replies.

Bujitsu

MIS
Oct 23, 2003
67
AU
Hi,

I do not understand how to convert char* to System::Object^.
I am trying to add a char* to an item in a combobox.

combobox->Items->Add()

So I have tried things like:

System::Object^ MyObject = ToString(char*) - Nope.
combobox->Items->Add((System::Object^) char*) - Nope

Any help would be greatly appreciated.

Regards.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top