开发者

char* or wchar_t* to textbox

开发者 https://www.devze.com 2023-01-15 08:20 出处:网络
char* cbuffer; wchar_t* wbuffer; cbuffer = _getcwd(NULL, 0);开发者_运维知识库 wbuffer = _wgetcwd(NULL, 0);

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.

See this

0

精彩评论

暂无评论...
验证码 换一张
取 消