嵌入式爱好者

嵌入式爱好者 门户 知识库 查看内容

c++与C#数据类型对比

2017-4-27 11:26| 发布者: 飞凌-seventeen| 查看: 261| 评论: 0

类目:  >  知识库     文档编号: 115

windows(c++)与c#数据类型对照表
windows数据类型.net数据类型
bool, booleanboolean or int32
bstrstring
bytebyte
charchar
doubledouble
dwordint32 or uint32
floatsingle
handle (and all other handle types, such as hfont and hmenu)intptr, uintptr or handleref
hresultint32 or uint32
intint32
langidint16 or uint16
lcidint32 or uint32
longint32
lparamintptr, uintptr or object
lpcstrstring
lpctstrstring
lpcwstrstring
lpstrstring or stringbuilder*
lptstrstring or stringbuilder
lpwstrstring or stringbuilder
lpvoidintptr, uintptr or object
lresultintptr
safearray.net array type
shortint16
tcharchar
ucharsbyte
uintint32 or uint32
ulongint32 or uint32
variantobject
variant_boolboolean
wcharchar
wordint16 or uint16
wparamintptr, uintptr or object

已解决

未解决

只是看看

最新评论

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-5-5 00:19

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

返回顶部