怎么解决这个问题Access Violation at address ×××× in module ****.DLL',Read of address ××××
定义 function IccWrite(pszPortName: pchar; pszPassword: pchar; nPswLen: Integer;pszDataIn:pchar; nLen: Integer;pszCardnoOut: pchar): Boolean;stdcall; external 'SMCICC.dll';
调用IccWrite(pszPortName, pszPassword, nPswLen, pszDataIn, nLen,pszCardnoOut);
值的一体的是每次调用都会出这样的错误
定义 function IccWrite(pszPortName: pchar; pszPassword: pchar; nPswLen: Integer;pszDataIn:pchar; nLen: Integer;pszCardnoOut: pchar): Boolean;stdcall; external 'SMCICC.dll';
调用IccWrite(pszPortName, pszPassword, nPswLen, pszDataIn, nLen,pszCardnoOut);
值的一体的是每次调用都会出这样的错误
解决方案 »
- delphi语句如何把excel表内的数据导入循环一遍导入到sql中
- 求教具体操作:字符串过长,想切成几段,然后赋值给commandtext。
- delphi调用VC++编写的dll方法!
- 怎么把数值型字段的值如1000 在数据显示控件dbedit里显示成1000.00或者1,000.00????????????
- Delphi7中怎么没有Tserversockt和Tclientsocket?怎样安装这些组件?
- 求救高手,加急,本人需要用DELPHI和DB2开发数据库,有这方面的高手请进。送1000分呵
- MIDAS.DLL
- 我注册成功了
- 一个新网站欢迎大家提意见http://www.hrbhome.net
- 提个小问题我的程序开始的时候好好的, 后来在调试程序是 出现 cpu的调试窗口, 为啥?怎样避免?怎样去掉?
- 高手请进:一个关于日期格式转换的较难的问题,CSDN上以前好象没人问过~~~
- 简单的组件问题
这样为pchar分配缓冲区,用stralloc或strnew都可以:
var
apchar:pchar;
apchar:=strnew('a new pchar');//apchar:=stralloc(10);
....
strdispose(apchar);//释放