mdserviceintf.pas

来自「Delphi开发webservice的一套例子」· PAS 代码 · 共 28 行

PAS
28
字号
{ Invokable interface declaration unit for ImdService }

unit mdServiceIntf;

interface

uses
  Types, XSBuiltIns;

type
  ImdService = interface(IInvokable)
    ['{5508F177-ECBD-435C-8E09-9D5F4CAC9E3C}']
    // Declare your invokable logic here using standard Object Pascal code
    // Remember to include a calling convention! (usually stdcall)
    function QueryMyData(const sSQLCommand : String; var vData : String) : Integer; stdcall;
    function UpdateMyData(vData : String; var lErrorCount : Longint) : Integer; stdcall;
  end;

implementation

uses
  InvokeRegistry;

initialization
  InvRegistry.RegisterInterface(TypeInfo(ImdService), '', '');

end.
 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?