I'm performing a simple operation and my brain is not helping me out (overly fried).
I have:
String ^ myString = Console::ReadLine();
I need to convert myString to a const BYTE *lpdata.
Printable View
I'm performing a simple operation and my brain is not helping me out (overly fried).
I have:
String ^ myString = Console::ReadLine();
I need to convert myString to a const BYTE *lpdata.
Use Marshal StringToHGlobalAnsi or StringToHGlobalUni methods.
Thanks Alex.