Convertiong Managed Strings to Unmanaged Chars
-
I still can't find out how to convert this managed string into a unmanaged char[20]. Specifically: I have a char called FILENAME char filename __nogc[20] ; and a managed string called STR. String* str ; Does anyone have any idea how to read STR into FILENAME? Please don't tell me it can't be done... Thanks, KBL
-
I still can't find out how to convert this managed string into a unmanaged char[20]. Specifically: I have a char called FILENAME char filename __nogc[20] ; and a managed string called STR. String* str ; Does anyone have any idea how to read STR into FILENAME? Please don't tell me it can't be done... Thanks, KBL
See :- http://www.codeproject.com/string/CPPStringGuide2.asp And see the section titled "CLR and VC 7 classes" Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]