Hi. I have this code.
char* cbuffer;
wchar_t* wbuffer;
cbuffer = _getcwd(NULL, 0);
wbuffer = _wgetcwd(NULL, 0);
Also, I have textbox1 and textbox2. How can I put cbuffer in textbox1 and wbuffer in textbox2. Thanks.
Hi. I have this code.
char* cbuffer;
wchar_t* wbuffer;
cbuffer = _getcwd(NULL, 0);
wbuffer = _wgetcwd(NULL, 0);
Also, I have textbox1 and textbox2. How can I put cbuffer in textbox1 and wbuffer in textbox2. Thanks.
You have to convert the C++ string to CTS (Common Type System) System.String used by .NET.