wcstombs_s 中文 42 错误
using namespace System::Runtime::InteropServices;
//fileAdress : system.string^
char* str2 = (char*)(void*)Marshal::StringToHGlobalAnsi(fileAdress);
Marshal::FreeHGlobal((System::IntPtr)str2);
.jpg)
using namespace System::Runtime::InteropServices;
//fileAdress : system.string^
char* str2 = (char*)(void*)Marshal::StringToHGlobalAnsi(fileAdress);
Marshal::FreeHGlobal((System::IntPtr)str2);