M
martinwang
Unregistered / Unconfirmed
GUEST, unregistred user!
对应Delphi里这样声明:
type
userinfo = record
userid: integer;
username: array[0..20] of char; //pchar 用字符数组可否接收char*数据,即客户传入char* username这样的数据可否正常接收
userpassword: array[0..20] of char; //pchar 同上
end;
puserinfo = ^userinfo;
workinfo = record
workid: integer;
workaddr: array[0..140] of char;//同上
workexp: array[0..140] of char;//同上
end;
pworkinfo = ^workinfo;
function checkname(puInfo: puserinfo; pwkinfo: pworkinfo; msg: pchar): integer; stdcall;
而客户调用的时候说有问题,有异常,vb, pb的客户端,大家做过这方面的给些建议
type
userinfo = record
userid: integer;
username: array[0..20] of char; //pchar 用字符数组可否接收char*数据,即客户传入char* username这样的数据可否正常接收
userpassword: array[0..20] of char; //pchar 同上
end;
puserinfo = ^userinfo;
workinfo = record
workid: integer;
workaddr: array[0..140] of char;//同上
workexp: array[0..140] of char;//同上
end;
pworkinfo = ^workinfo;
function checkname(puInfo: puserinfo; pwkinfo: pworkinfo; msg: pchar): integer; stdcall;
而客户调用的时候说有问题,有异常,vb, pb的客户端,大家做过这方面的给些建议