以下是同一个API函数的C和VB的声明:
__int16 __stdcall asc_hex(unsigned char *asc, unsigned char *hex);
Declare Function asc_hex Lib "mwic_32.dll" (ByVal asc as string, ByRef hex As Byte) As Integer为什么
__int16 __stdcall asc_hex(unsigned char *asc, unsigned char *hex);中的两个参数
同样的unsigned char *asc, unsigned char *hex 却分别对应 VB中的 ByVal asc as string, ByRef hex As Byte这是为什么。
__int16 __stdcall asc_hex(unsigned char *asc, unsigned char *hex);
Declare Function asc_hex Lib "mwic_32.dll" (ByVal asc as string, ByRef hex As Byte) As Integer为什么
__int16 __stdcall asc_hex(unsigned char *asc, unsigned char *hex);中的两个参数
同样的unsigned char *asc, unsigned char *hex 却分别对应 VB中的 ByVal asc as string, ByRef hex As Byte这是为什么。
解决方案 »
- 求鼠标钩子获取类似于ole中 Data.Files()的信息
- VB替换地址栏参数的问题
- 困扰我2个星期的用查找关键字所在单元格。excel进程不能自动关闭
- 小菜菜学复选框的问题
- 请问有没有将2进制转换成10进制的函数?
- 求教:如果把一个文件用BASE64编码后写入一个TXT文件,请教再用BASE64解码,该如何得到源文件,谢谢!!!!
- TREEVIEW重新构造之后如何设置其中的NODE为选中状态?急
- 菜鸟出世,请大家多多指教<关于生成安装文件的问题>
- 怎么获得2000下登陆用户的用户名和密码?(用VB)
- 怎样在VB程序中打开一个EXCEL的表格?
- 关于一个升级软件的思路
- vb中怎样查看整个文件夹的大小
http://download.csdn.net/source/3050780