WORD TriDES_Encrypt(
BYTE *_bPlainText,
BYTE *_bKey
);把它翻译成Delphi的调用方式。谢谢!

解决方案 »

  1.   

    这段语句好象是C的吧?是一个DLL里的函数,DES三重加密算法,想把它用在Delphi里,请哪位大哥帮小弟翻译成Delphi的调用方式,谢谢了啊!
      

  2.   

    type PByte=^byte;
    type FTriDES_Encrypt=function(_bPlainText,_bKey:Pbyte):word;
    type p=PFarProc;
    p:=函数地址;
    FTriDES_Encrypt(p)(plaintext,key);
      

  3.   

    type;
    begin
    TriDES_Encrypt=record;
    _bPlainText:^Integer;
    _bKey:^Integer;
    end;本人第一天看Delphi,还没有看过书:所以,可信度0%...