如何将C#下的byte 数组转化为C++下的BYTE 数组
急着需要,帮我解决下,
bool getData(BYTE*& aszData)
{
Byte lbyte[] = Helper::Get(); //Helper是C#的类
aszData = lbyte; //error C2440: “=” : 无法从“unsigned char __gc[]”转换为“BYTE *”
return true;
}
bool getData(BYTE*& aszData)
{
Byte lbyte[] = Helper::Get(); //Helper是C#的类
aszData = lbyte; //error C2440: “=” : 无法从“unsigned char __gc[]”转换为“BYTE *”
return true;
}
...全文


VC.NET
