易语言吧

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 493|回复: 0

[易语言问题] 易语言调用dll 发卡机二次开发发卡问题

[复制链接]

1

主题

1

帖子

21

积分

初识易语言

Rank: 1

积分
21
威望
0
易币
20
贡献
0
积分
21
UID
42722
在线时间
0 小时
注册时间
2024-5-31
发表于 2024-5-31 22:39:56 | 显示全部楼层 |阅读模式
1易币
问题是这样我手上有个发卡机,想用易语言写个发卡程序。但是发卡机给的厂商给的说明,不知道怎么写成易语言程序。主要是搞不懂指针问题

[code]<p class="MsoNormal" style="text-align: center;"><span style="font-family: "Courier New"; color: rgb(0, 0, 0);"><font size="7">dll函数说明</font></span></p><p class="MsoNormal" style="text-align: center;"><span style="mso-spacerun:'yes';font-family:'Courier New';mso-fareast-font-family:宋体;
color:rgb(0,0,0);font-size:10.0000pt;mso-font-kerning:0.0000pt;">ATA_StandWrite</span><span style="mso-spacerun:'yes';font-family:宋体;mso-ascii-font-family:'Courier New';
mso-hansi-font-family:'Courier New';mso-bidi-font-family:'Courier New';color:rgb(0,0,0);
font-size:10.0000pt;mso-font-kerning:0.0000pt;">(</span><span style="mso-spacerun:'yes';font-family:'Courier New';mso-fareast-font-family:宋体;
color:rgb(0,0,0);font-size:10.0000pt;mso-font-kerning:0.0000pt;">ATA_ProteWrite</span><span style="mso-spacerun:'yes';font-family:宋体;mso-ascii-font-family:'Courier New';
mso-hansi-font-family:'Courier New';mso-bidi-font-family:'Courier New';color:rgb(0,0,0);
font-size:10.0000pt;mso-font-kerning:0.0000pt;">)</span><span style="mso-spacerun:'yes';font-family:宋体;mso-ascii-font-family:'Courier New';
mso-hansi-font-family:'Courier New';mso-bidi-font-family:'Courier New';color:rgb(0,0,0);
font-size:10.0000pt;mso-font-kerning:0.0000pt;"><o:p></o:p></span></p><p class="MsoNormal" style="text-align: center;"><span style="mso-spacerun:'yes';font-family:宋体;mso-ascii-font-family:'Courier New';
mso-hansi-font-family:'Courier New';mso-bidi-font-family:'Courier New';color:rgb(0,0,0);
font-size:10.0000pt;mso-font-kerning:0.0000pt;">函数原型:</span><span style="mso-spacerun:'yes';font-family:'Courier New';mso-fareast-font-family:宋体;
color:rgb(0,0,0);font-size:10.0000pt;mso-font-kerning:0.0000pt;">ATA_StandWrite(BYTE page, BYTE block, BYTE lock, </span><span style="mso-spacerun:'yes';font-family:宋体;mso-ascii-font-family:'Courier New';
mso-hansi-font-family:'Courier New';mso-bidi-font-family:'Courier New';color:rgb(0,0,0);
font-size:10.0000pt;mso-font-kerning:0.0000pt;"><o:p></o:p></span></p><p class="MsoNormal" style="text-align: center;"><span style="mso-spacerun:'yes';font-family:宋体;mso-ascii-font-family:'Courier New';
mso-hansi-font-family:'Courier New';mso-bidi-font-family:'Courier New';color:rgb(0,0,0);
font-size:10.0000pt;mso-font-kerning:0.0000pt;">                            </span><span style="mso-spacerun:'yes';font-family:'Courier New';mso-fareast-font-family:宋体;
color:rgb(0,0,0);font-size:10.0000pt;mso-font-kerning:0.0000pt;">BYTE *block_data,</span><span style="mso-spacerun:'yes';font-family:宋体;mso-ascii-font-family:'Courier New';
mso-hansi-font-family:'Courier New';mso-bidi-font-family:'Courier New';color:rgb(0,0,0);
font-size:10.0000pt;mso-font-kerning:0.0000pt;"> </span><span style="mso-spacerun:'yes';font-family:'Courier New';mso-fareast-font-family:宋体;
color:rgb(0,0,0);font-size:10.0000pt;mso-font-kerning:0.0000pt;">int addr=0)</span><span style="mso-spacerun:'yes';font-family:宋体;mso-ascii-font-family:'Courier New';
mso-hansi-font-family:'Courier New';mso-bidi-font-family:'Courier New';color:rgb(0,0,0);
font-size:10.0000pt;mso-font-kerning:0.0000pt;"><o:p></o:p></span></p><p class="MsoNormal" style="text-align: center;">
</p><p class="MsoNormal" style="text-align: center;"><span style="mso-spacerun:'yes';font-family:宋体;mso-ascii-font-family:'Courier New';
mso-hansi-font-family:'Courier New';mso-bidi-font-family:'Courier New';color:rgb(0,0,0);
font-size:10.0000pt;mso-font-kerning:0.0000pt;">函数功能:</span><span style="mso-spacerun:'yes';font-family:'Courier New';mso-fareast-font-family:宋体;
color:rgb(0,0,0);font-size:10.0000pt;mso-font-kerning:0.0000pt;"><font face="宋体">写卡</font></span><span style="mso-spacerun:'yes';font-family:宋体;mso-ascii-font-family:'Courier New';
mso-hansi-font-family:'Courier New';mso-bidi-font-family:'Courier New';color:rgb(0,0,0);
font-size:10.0000pt;mso-font-kerning:0.0000pt;">,假如卡片有密码使用</span><span style="mso-spacerun:'yes';font-family:'Courier New';mso-fareast-font-family:宋体;
color:rgb(0,0,0);font-size:10.0000pt;mso-font-kerning:0.0000pt;">ATA_ProteWrite</span><span style="mso-spacerun:'yes';font-family:宋体;mso-ascii-font-family:'Courier New';
mso-hansi-font-family:'Courier New';mso-bidi-font-family:'Courier New';color:rgb(0,0,0);
font-size:10.0000pt;mso-font-kerning:0.0000pt;">,没有密码用</span><span style="mso-spacerun:'yes';font-family:'Courier New';mso-fareast-font-family:宋体;
color:rgb(0,0,0);font-size:10.0000pt;mso-font-kerning:0.0000pt;">ATA_StandWrite</span><span style="mso-spacerun:'yes';font-family:宋体;mso-ascii-font-family:'Courier New';
mso-hansi-font-family:'Courier New';mso-bidi-font-family:'Courier New';color:rgb(0,0,0);
font-size:10.0000pt;mso-font-kerning:0.0000pt;"><o:p></o:p></span></p><p class="MsoNormal" style="text-align: center;"><span style="mso-spacerun:'yes';font-family:宋体;mso-ascii-font-family:'Courier New';
mso-hansi-font-family:'Courier New';mso-bidi-font-family:'Courier New';color:rgb(0,0,0);
font-size:10.0000pt;mso-font-kerning:0.0000pt;">参数说明:</span><span style="mso-spacerun:'yes';font-family:'Courier New';mso-fareast-font-family:宋体;
color:rgb(0,0,0);font-size:10.0000pt;mso-font-kerning:0.0000pt;">page-><font face="宋体">页地址,起始页为</font></span><span style="mso-spacerun:'yes';font-family:宋体;mso-ascii-font-family:'Courier New';
mso-hansi-font-family:'Courier New';mso-bidi-font-family:'Courier New';color:rgb(0,0,0);
font-size:10.0000pt;mso-font-kerning:0.0000pt;">0<font face="宋体">,</font><font face="Courier New">T5557</font><font face="宋体">总共</font><font face="Courier New">2</font><font face="宋体">页,</font><font face="Courier New">1</font><font face="宋体">页不可写</font></span><span style="mso-spacerun:'yes';font-family:'Courier New';mso-fareast-font-family:宋体;
color:rgb(0,0,0);font-size:10.0000pt;mso-font-kerning:0.0000pt;"><o:p></o:p></span></p><p class="MsoNormal" style="text-align: center;"><span style="mso-spacerun:'yes';font-family:'Courier New';mso-fareast-font-family:宋体;
color:rgb(0,0,0);font-size:10.0000pt;mso-font-kerning:0.0000pt;">

懒得打字嘛,点击右侧快捷回复 【选择右侧内容,快速回复】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

大漠插件注册码无须等1-3号

QQ|一:站内所有资源均来自互联网收集或用户上传分享,本站不拥有此类资源的版权。 作为网络服务提供者,对转载行为的发生不具备充分的监控能力。但是当版权拥有者提出侵权并出示充分的版权证明材料时,易语言吧负有移除转载作品以及停止继续传播的义务。在满足前款条件下采取移除等相应措施后不为此向原发布人承担违约责任,包括不承担因侵权不成立而给原发布人带来损害的赔偿责任。 用户免费分享产生,如果侵犯了你的权益,联系QQ:3066137757|Archiver|手机版|小黑屋|易语言吧

GMT+8, 2024-11-23 17:56 , Processed in 0.185849 second(s), 20 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表