| 发表于:2007-03-06 10:48:072楼 得分:0 |
我有一个vc6.0写的名为ymdll的dll,在其内有一个 int getrecord (byte cport, dword dwbaudrate, byte cmachineno)下载打卡记录的函数, 在vb中,我作了如下声明:declare function getrecord lib "ymdll.dll "(byval cport as byte, byval dwbaudrate as long, byval cmachineno as byte,byval wrecordcount as long ) as integer 现在一个调用 i=getrecord(1,9600,1,) 返回的i=0 可是在其下载的数据文件中的数据又不正确 | | |
|