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(int) ---- c#:System.Int16
c++:INT(int) ---- c#:System.Int32
c++:UINT(unsigned int) ---- c#:System.UInt16
c++:UINT(unsigned int) ---- c#:System.UInt32
c++:LONG(long) ---- c#:System.Int32
c++:ULONG(unsigned long) ---- c#:System.UInt32
c++:DWORD(unsigned long) ---- c#:System.UInt32
c++:DECIMAL ---- c#:System.Decimal
c++:BOOL(long) ---- c#:System.Boolean
c++:CHAR(char) ---- c#:System.Char
c++:LPSTR(char *) ---- c#:System.String
c++:LPWSTR(wchar_t *) ---- c#:System.String
c++:LPCSTR(const char *) ---- c#:System.String
c++:LPCWSTR(const wchar_t *) ---- c#:System.String
c++:PCAHR(char *) ---- c#:System.String
c++:BSTR ---- c#:System.String
c++:FLOAT(float) ---- c#:System.Single
c++:DOUBLE(double) ---- c#:System.Double
c++:VARIANT ---- c#:Syst
C#与C++数据类型转换
最新推荐文章于 2025-05-08 17:21:29 发布