开发者

char* or wchar_t* to textbox

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜