C++与C#数据转换
来源:互联网 发布:死神面具淘宝 编辑:程序博客网 时间:2024/05/21 06:38
//c++:HANDLE(void *) ---- c#:System.IntPtr
//c++:Byte(unsigned char) ---- c#:System.Byte
//c++:SHORT(short) ---- c#:System.Int16
//c++:WORD(unsigned short) ---- c#:System.UInt16
//c++:INT(short int) ---- c#:System.Int16
//c++:INT(long int) ---- c#:System.Int32
//c++:UINT(unsigned short int) ---- c#:System.UInt16
//c++:UINT(unsigned long int) ---- c#:System.UInt32
//c++:LONG(long) ---- c#:System.Int32
//c++:ULONG(unsigned long) ---- c#:System.UInt32
//c++:DWORD(unsigned long) ----
//c++:Byte(unsigned
//c++:SHORT(short)
//c++:WORD(unsigned
//c++:INT(short int)
//c++:INT(long int)
//c++:UINT(unsigned short int)
//c++:UINT(unsigned long int)
//c++:LONG(long)
//c++:ULONG(unsigned
//c++:DWORD(unsigned