Z zhai2008 Unregistered / Unconfirmed GUEST, unregistred user! 2009-12-25 #1 vc写的dll中的方法 TvcGetCallerId(int ch,char *szBuf,int want)用Delphi调用时(*szBuf,int want)这两个参数如何传啊?多谢大家了!
H hksoobe Unregistered / Unconfirmed GUEST, unregistred user! 2009-12-25 #3 prucedure TvcGetCallerId(ch:integer;szBuf: PChar; want: Integer;stdcall;
Z zhai2008 Unregistered / Unconfirmed GUEST, unregistred user! 2009-12-26 #4 prucedure TvcGetCallerId(ch:integer;szBuf: PChar; want: Integer;stdcall;我这样传参数行吗?拜托大家教教我!procedure getNo;var aPchar : PChar; s : string; iLen : integer;begin s := '012345678901'; iLen := length(s); aPchar := Char(s); TvcGetCallerId(1, aPchar, iLen);end;
prucedure TvcGetCallerId(ch:integer;szBuf: PChar; want: Integer;stdcall;我这样传参数行吗?拜托大家教教我!procedure getNo;var aPchar : PChar; s : string; iLen : integer;begin s := '012345678901'; iLen := length(s); aPchar := Char(s); TvcGetCallerId(1, aPchar, iLen);end;
G GodIsWrong Unregistered / Unconfirmed GUEST, unregistred user! 2009-12-26 #5 好像你没有加载dll吧prucedure TvcGetCallerId(ch:integer;szBuf: PChar; want: Integer;stdcall; external ‘ffd.dll’;aPchar := Char(s);//好像也有问题应该是 aPchar := PChar(S);
好像你没有加载dll吧prucedure TvcGetCallerId(ch:integer;szBuf: PChar; want: Integer;stdcall; external ‘ffd.dll’;aPchar := Char(s);//好像也有问题应该是 aPchar := PChar(S);