这个API在PB里如何调用? 急急急

[复制链接]
查看11 | 回复5 | 2021-1-27 05:49:32 | 显示全部楼层 |阅读模式
int__stdcallRD_InventoryTagPs(inthComm,char*pUidInfo,int&nUidCount)
函数说明,hcomm为输入参数,
char*pUidInfo,int&nUidCount为输出参数
返回值为int类型
在pb里如何声明?
分 -->
回复

使用道具 举报

千问 | 2021-1-27 05:49:32 | 显示全部楼层
FunctionLongRD_InventoryTagPs(LonghComm,refStringpUidInfo,refLongnUidCount)library"你的DLL"
回复

使用道具 举报

千问 | 2021-1-27 05:49:32 | 显示全部楼层
intRD_InventoryTagPs(int,stringpUidInfo,refint&nUidCount)
回复

使用道具 举报

千问 | 2021-1-27 05:49:32 | 显示全部楼层
用以下代码试试
FunctionLongRD_InventoryTagPs(Longaa,refStringbb,refLongcc)library"DLL"
如果是pb10以上版本
FunctionLongRD_InventoryTagPs(Longaa,refStringbb,refLongcc)library"DLL"aliasfor
"RD_InventoryTagPs;Ansi"
回复

使用道具 举报

千问 | 2021-1-27 05:49:32 | 显示全部楼层
intRD_InventoryTagPs(int,stringpUidInfo,refint&nUidCount)
回复

使用道具 举报

千问 | 2021-1-27 05:49:32 | 显示全部楼层
引用3楼lzp_lrp的回复:用以下代码试试
FunctionLongRD_InventoryTagPs(Longaa,refStringbb,refLongcc)library"DLL"
如果是pb10以上版本
FunctionLongRD_InventoryTagPs(Longaa,refStringbb,refLongcc)library"DLL"aliasfor
"RD_InventoryTagPs;Ansi"

+1
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行