标签:ar sp bs new as c++ nbsp c# class
byte[] cBuf = new byte[14];
IntPtr MachineVer = System.Runtime.InteropServices.Marshal.AllocHGlobal(14);
int x = OcxClass.FY_GetMachineTime(MachineVer);
Marshal.Copy(MachineVer, cBuf,0,14);
string xx= Encoding.ASCII.GetString(cBuf);
未写完整...
public static extern int FY_GetMachineVer(IntPtr sRet);
标签:ar sp bs new as c++ nbsp c# class
原文地址:http://www.cnblogs.com/yewei798/p/4060066.html