.NET/C++
【.NET/C++】WCHAR를 String^로 변환
1Q74
2023. 2. 28. 10:52
다음과 같이 사용해 보세요.
#include <msclr\marshal.h>
using namespace System;
using namespace msclr::interop;
int main()
{
String^ convertedMessage = marshal_as<String^>(wcharMessage);
}