如:
String
Long
Integer
Double
Currency
Boolean

解决方案 »

  1.   

    定义时对比如下,前为VB,后为DelphiString -- CharLong -- LongintInteger --IntegerDouble -- Double Currency -- CurrencyBoolean --Boolean
      

  2.   

    Delphi里Char是字符,字符串也是String
      

  3.   

    噢,Sorry !viena(晓琴)说的对,我写错了一个
      

  4.   

    library MyModule;uses
      Windows,Messages;function MouseTxt():char;stdcall;
    var
      Pos: TPoint;
      Handle: HWND;
      Buf: array[0..1024] of Char;
    begin
      GetCursorPos(Pos);
      Handle := WindowFromPoint(Pos);
      SendMessage(Handle, WM_GETTEXT, 1024, Integer(@Buf));
      result := Buf;
    end;
    exports
      MouseTxt;
    begin
    end.VB怎么调用?