   managed strings...*
  How do you manipulate these evil things?wchar_t ^text = (gcnew wchar_t[ ( notes * 2 + 2 ) * 6 ]);...text[pos] = '-';error C3915: 'System::Char' has no default indexed property (class indexer)[Edited by - F-Kop on June 23, 2006 12:36:48 AM]
  Use a StringBuilder. Managed strings are immutable.   ;  I don't know too much about C++/CLI, but I believe what you are looking for is something like the following:array< wchar_t ^ > ^test = gcnew array< wchar_t ^ >( ( notes * 2 + 2 ) * 6 );test[pos] = L'-';From what I can make of it, you were not declaring a managed array, which I assume is what you are trying to do. I don't know why the compiler didn't complain about your syntax.Otherwise, use a StringBuilder, as SiCrane suggested.jfl.   ;  StringBuilder worked. Thank you!   