clientu2.pas

来自「基于Delphi6的WebServices及其实现」· PAS 代码 · 共 15 行

PAS
15
字号
Unit clientu2;
interface
uses Types, XSBuiltIns;
type
  IMyAddSub = interface(IInvokable)
    ['{AAA5857C-7432-4FAB-AADF-E3530DE15AD3}']
    function MyAdd(const Value1: Integer; const Value2: Integer): Integer;  stdcall;
    function MySub(const Value1: Integer; const Value2: Integer): Integer;  stdcall;
  end;
implementation
uses InvokeRegistry;
initialization
  InvRegistry.RegisterInterface(TypeInfo(IMyAddSub), 'urn:MyAddSub-IMyAddSub', '');
end.

⌨️ 快捷键说明

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