myaddsub.pas
来自「基于Delphi6的WebServices及其实现」· PAS 代码 · 共 14 行
PAS
14 行
unit MyAddSub;
interface
type
IMyAddSub = interface(IInvokable)
['{C527B88F-3F8E-1134-80e0-01A04F57B270}']
function MyAdd(Value1,Value2: Integer): Integer; stdcall;
function MySub(Value1,Value2: Integer): Integer; stdcall;
end;
implementation
uses InvokeRegistry;
initialization
InvRegistry.RegisterInterface(TypeInfo(IMyAddSub));
end.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?