vb调用vc写的dll文件的时候,变量类型的对应关系

前端之家收集整理的这篇文章主要介绍了vb调用vc写的dll文件的时候,变量类型的对应关系前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

引子:昨天在用vb调用vc写的dll文件的时候,变量的使用上出现了问题,通过反编译调试,发现vb中的long才是对应c中的int。而不是integer对应int。

以下是找到的资料:

在本篇中我们重点讲讲Api函数声明中参数列表的部分.

我们知道每种编程语言的数据类型都不尽相同,比如说C中的int和VB中的integer,看名字它们都是整型,但是它们占有的内存单元却是完全不同的.VB中的Integer是占用2个字节的.所以如果某个Api函数原型是C的int型你用Integer去声明它的话,会产生一些意外的错误.正确的做法是用Long去声明它.下面我们例出一些常用的类型转换:

@H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Double @H_502_51@8 @H_502_51@Byte @H_502_51@1 @H_502_51@Long @H_502_51@4 @H_502_51@Single @H_502_51@4 @H_502_51@Double @H_502_51@8 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Byte @H_502_51@1 @H_502_51@Long @H_502_51@4 @H_502_51@Byte @H_502_51@1 @H_502_51@Byte @H_502_51@1 @H_502_51@Byte @H_502_51@1 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Integer @H_502_51@2 @H_502_51@Integer @H_502_51@2 @H_502_51@integer/byte @H_502_51@2/1 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Byte @H_502_51@1 @H_502_51@Byte @H_502_51@1 @H_502_51@Long @H_502_51@4 @H_502_51@Byte @H_502_51@1 @H_502_51@Byte @H_502_51@1 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Byte @H_502_51@1 @H_502_51@Byte @H_502_51@1 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Byte @H_502_51@1 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Single @H_502_51@4 @H_502_51@Double @H_502_51@8 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Byte @H_502_51@1 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Double @H_502_51@8 @H_502_51@Double @H_502_51@8 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Double @H_502_51@8 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Byte @H_502_51@1 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Single @H_502_51@4 @H_502_51@Single @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Double @H_502_51@8 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Double @H_502_51@8 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Integer @H_502_51@2 @H_502_51@Double @H_502_51@8 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Double @H_502_51@8 @H_502_51@Long @H_502_51@4 @H_502_51@Double @H_502_51@8 @H_502_51@Double @H_502_51@8 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Byte @H_502_51@1 @H_502_51@Long @H_502_51@4 @H_502_51@Double @H_502_51@8 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Double @H_502_51@8 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Single @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Single @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Single @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Single @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Byte @H_502_51@1 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Double @H_502_51@8 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Single @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Integer @H_502_51@2 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Byte @H_502_51@1 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Double @H_502_51@8 @H_502_51@Byte @H_502_51@1 @H_502_51@Byte @H_502_51@1 @H_502_51@Byte @H_502_51@1 @H_502_51@Double @H_502_51@8 @H_502_51@Double @H_502_51@8 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Byte @H_502_51@1 @H_502_51@Long @H_502_51@4 @H_502_51@Single @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Byte @H_502_51@1 @H_502_51@Integer @H_502_51@2 @H_502_51@Byte @H_502_51@1 @H_502_51@Byte @H_502_51@1 @H_502_51@Byte @H_502_51@1 @H_502_51@Double @H_502_51@8 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Byte @H_502_51@1 @H_502_51@Integer @H_502_51@2 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Integer @H_502_51@2 @H_502_51@Byte/Integer @H_502_51@1/2 @H_502_51@Byte/Integer @H_502_51@1/2 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Byte @H_502_51@1 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Byte @H_502_51@1 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Double @H_502_51@8 @H_502_51@Byte @H_502_51@1 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Integer @H_502_51@2 @H_502_51@Double @H_502_51@8 @H_502_51@Integer @H_502_51@2 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Variant @H_502_51@  @H_502_51@Integer @H_502_51@2 @H_502_51@Variant @H_502_51@  @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Integer @H_502_51@2 @H_502_51@Integer @H_502_51@2 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4 @H_502_51@Integer @H_502_51@2 @H_502_51@Long @H_502_51@4 @H_502_51@Long @H_502_51@4
C语言类型 VB类型 Bytes
const char* Long 4
__int16
__int32
__int64
__int8
bool
float
double
short
int
char
unsigned int
char
unsigned char
unsigned char
unsigned short
unsigned int
VARIANT_BOOL
wchar_t
FARPROC
DWORD
DWORD
DWORD
LONG
DWORD
WORD
WORD
WORD
WCHAR/BYTE
DWORD
unsigned long int
int
unsigned char
unsigned char
OLECHAR*
unsigned char
unsigned char
DWORD
FARPROC
FARPROC
DWORD
char
char
WORD
long
void*
CMC_sint32
CMC_uint32
CMC_uint32
CMC_uint32
short
long int
char
char*
CMC_uint32
unsigned short int
unsigned long int
FARPROC
FARPROC
DWORD
DWORD
CY
int
DWORD
LONG
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
float
double
FARPROC
FARPROC
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
WORD
DWORD
DWORD
DWORD
CHAR
DESKTOPENUMPROCA
FARPROC
FARPROC
unsigned int
PVOID
LONG
FARPROC
double
double
DWORD
FARPROC
DWORD
unsigned long
unsigned __int64
EDITWORDBREAKPROCA
FARPROC
FARPROC
FARPROC
FARPROC
FARPROC
unsigned long
INT
*
BYTE
int
WORD
unsigned long
float
float
DWORD
FONTENUMPROCA
FARPROC
FARPROC
ULONG
__int64
WORD
void*
long
long
HANDLE
FARPROC
FARPROC
unsigned int
HANDLE
ULONG
HANDLE
HANDLE
HANDLE
HANDLE
PVOID
HANDLE
HANDLE
ULONG
HANDLE
HANDLE
HANDLE
HANDLE
LPVOID
void*
HANDLE
HANDLE
HANDLE
HICON
void*
HANDLE
HANDLE
HANDLE
PVOID
HANDLE
HANDLE
HANDLE
DWORD
void*
HANDLE
void*
int
HANDLE
ULONG
HANDLE
HANDLE
HANDLE
HANDLE
HANDLE
struct _IMAGELIST NEAR*
DWORD
DWORD
HANDLE
PVOID
HANDLE
LPVOID
HANDLE
HANDLE
HANDLE
HANDLE
HANDLE
void*
void*
HANDLE
HANDLE
HANDLE
HANDLE
HANDLE
HANDLE
void*
HGLOBAL
FARPROC
HANDLE
HANDLE
DWORD
HANDLE
HANDLE
DWORD
LONG
HANDLE
ULONG
HANDLE
HANDLE
WORD
PVOID
PVOID
void*
HANDLE
HANDLE
HANDLE
struct _TREEITEM FAR*
ULONG
HANDLE
HANDLE
HANDLE
HANDLE
HANDLE
__int64
void*
void*
unsigned short
int
int
WORD
ULONG
LONG
int
WORD
WORD
LONGLONG
DWORD
LONG
LONG
DWORD
unsigned long
FARPROC
FARPROC
FARPROC
HANDLE
long
long
long double
long
__int64
hyper
long
IAuthenticate*
IBindCtx*
union tagBINDPTR*
BOOL*
LPRECT
unsigned char*
LPCRECT
const CHAR*
const DLGTEMPLATE*
const DLGTEMPLATE*
const FOLDERSETTINGS*
CHAR*
const IID*
const ITEMIDLIST*
CLSID*
MENUITEMINFOA const*
MENUITEMINFOW const*
const MMCKINFO*
const MMIOINFO*
const OLECHAR*
DWORD*
const PROPSHEETHEADERA*
const PROPSHEETHEADERW*
const PROPSHEETPAGEA*
const PROPSHEETPAGEW*
REBARBANDINFOA const*
REBARBANDINFOW const*
const RECT*
const RECTL*
PRTL_CRITICAL_SECTION
SCROLLINFO const*
const SHITEMID*
const CHAR*
const TBBUTTON*
const TCHAR*
const void*
const WAVEFORMATEX*
const WCHAR*
const WCHAR*
DWORD*
DWORD*
DWORD*
D3DCOLORMODEL*
DWORD*
DWORD*
DWORD*
float*
DESC_CHAR*
DLGITEMTEMPLATE*
DLGITEMTEMPLATE*
DLGTEMPLATE*
DLGTEMPLATE*
DWORD*
DWORD*
SBinaryArray*
IEnumCATEGORYINFO*
PFIBER_START_ROUTINE
FMTID*
ACCELERATEABSDI*
DISMISSMODELESS*
long*
long*
GUID*
HANDLE*
IID*
int*
WORD*
unsigned long*
long*
VOID**
PVOID
PVOID
DWORD*
NMSELCHANGE*
OLECHAR*
WORD*
const char**
LPMAPIFORMINFO*
SIZE*
CHAR*
IStream*
LPSTR
PTHREAD_START_ROUTINE
LPSTR
unsigned long*
VARIANT*
LPBYTE
void*
WCHAR*
WORD*
WCHAR*
LONG
unsigned long
DWORD
long
unsigned long
char
unsigned long
LARGE_INTEGER
int
DISPID
double
DWORD
FARPROC
FARPROC
void*
CHAR*
LONG
WCHAR*
long
FARPROC
VARIANT_BOOL
DWORD
VARIANT_BOOL
UINT
VARIANT_BOOL
float
LONG
long
float
LONG
long
float
LONG
long
float
LONG
long
WCHAR
ACL*
WORD
IAVIEditStream*
IAVIFile*
IAVIStream*
IAVIStreaming*
WORD*
BOOL*
BOOLEAN*
BYTE*
const CHAR*
COMBOBoxEXITEMA const*
COMBOBoxEXITEMW const*
CHAR*
CHAR*
const IUniformResourceLocatorA*
IConnectionPoint*
IConnectionPointContainer*
PRTL_CRITICAL_SECTION
const CHAR*
char*
const URLINVOKECOMMANDINFOA*
const URLINVOKECOMMANDINFOW*
const WCHAR*
const WCHAR*
LONG
DLGITEMTEMPLATE*
DLGITEMTEMPLATE*
DWORD*
DWORDLONG*
IEnumConnectionPoints*
IEnumConnections*
FLOAT*
const unsigned char*
IGetFrame*
HANDLE*
HKEY*
int*
IUniformResourceLocatorA*
LARGE_INTEGER*
PDWORD
long*
LONGLONG*
LUID*
const MIDL_STUB_DESC*
void*
LONG*
WORD
PROPENUMPROCA
FARPROC
PROPENUMPROCEXA
FARPROC
FARPROC
FARPROC
ULONG
SCODE*
WORD*
DWORD*
SHORT*
PVOID
SIZE*
CHAR*
char*
unsigned char*
LPSTR
char*
void*
int
LPSTR
UCHAR*
unsigned int*
ULONG*
ULONGLONG*
USHORT*
void*
WCHAR*
WCHAR*
WORD*
WSH_NBP_NAME*
WSH_NBP_NAME*
WSH_NBP_NAME*
WCHAR*
CLSID*
FMTID*
GUID*
IID*
ACCESS_MASK
DWORD
short
void*
void*
I_RPC_HANDLE
unsigned char*
I_RPC_HANDLE*
void*
unsigned long
void*
void*
long
unsigned long
HANDLE
LPVOID
char
long
DWORD
double
long int
WORD
DWORD
FARPROC
DWORD
float
short
short
short
int
signed char
int
long
short
unsigned int
signed long
long
OLECHAR**
u_int
HANDLE*
__int64
unsigned char
unsigned char
unsigned char
double
double
void*
sqlHANDLE
sqlHANDLE
sqlHANDLE
sqlHANDLE
HWND
long
unsigned char
void*
float
sqlSMALLINT
char
short
sqlCHAR
unsigned char
unsigned char
unsigned __int64
unsigned long
unsigned short
unsigned char
wchar_t
short
long
long
DWORD
short int
short int
TCHAR
TCHAR
long
FARPROC
FARPROC
FARPROC
WORD
unsigned char
unsigned int
unsigned long
unsigned short
unsigned char
unsigned long int
unsigned long int
unsigned int
unsigned long
unsigned long
unsigned __int64
unsigned char
unsigned int
unsigned long
unsigned short
BYTE_BLOB*
DWORD_BLOB*
FLAGGED_BYTE_BLOB*
FLAGGED_WORD_BLOB*
WORD_BLOB*
unsigned short
unsigned short
LONGLONG
unsigned short int
unsigned short int
char*
VARIANT
short
VARIANT
unsigned short
void*
wchar_t
unsigned short
wchar_t
wchar_t
LPVOID
FARPROC
FARPROC
wchar_t
userSTGMEDIUM*
FLAGGED_WORD_BLOB*
userCLIPFORMAT*
userFLAG_STGMEDIUM*
RemotableHandle*
userHBITMAP*
RemotableHandle*
RemotableHandle*
userHENHMetaFILE*
RemotableHandle*
userHGLOBAL*
RemotableHandle*
RemotableHandle*
userHMetaFILE*
userHMetaFILEPICT*
userHPALETTE*
RemotableHandle*
RemSNB*
userSTGMEDIUM*
FARPROC
*
unsigned short
UINT
DWORD

对于指针型的类型转入到Vb中应是ByRef的.其它的用ByVal,对于某些函数回调,需要用Addressof取函数地址,要注意的是要取地址的函数必需在模块文件中.否则会出错.

本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/littlerain007/archive/2005/03/22/326569.aspx

猜你在找的VB相关文章