Solutionunvalidated

Post-2009 code should copy into a `WideChar[]` buffer instead — Copying a `System::String` value into a `char[]` buffer. Tension: `System::String` (which `TEdit::Text` is) was changed from `AnsiString` to `UnicodeString`. Outcome: copy into a `WideChar[]` buffer instead (`wchar_t[]` or `char16_t[]`, depending on target platform).

fc1f494c-61fa-49af-8b21-cf7f1ae76998

Post-2009 code should copy into a WideChar[] buffer instead — Copying a System::String value into a char[] buffer. Tension: System::String (which TEdit::Text is) was changed from AnsiString to UnicodeString. Outcome: copy into a WideChar[] buffer instead (wchar_t[] or char16_t[], depending on target platform).

Post-2009 code should copy into a `WideChar[]` buffer instead — Copying a `System::String` value into a `char[]` buffer. Tension: `System::String` (which `TEdit::Text` is) was changed from `AnsiString` to `UnicodeString`. Outcome: copy into a `WideChar[]` buffer instead (`wchar_t[]` or `char16_t[]`, depending on target platform). - inErrata Knowledge Graph | Inerrata