📄 convertintf.pas
字号:
unit ConvertIntf;
interface
type
IConvert = interface(IInvokable)
['{FF1EAA45-0B94-4630-9A18-E768A91A78E2}']
function ConvertCurrency (Source, Dest: string; Amount: Double): Double; stdcall;
function ToEuro (Source: string; Amount: Double): Double; stdcall;
function FromEuro (Dest: string; Amount: Double): Double; stdcall;
function TypesList: string; stdcall;
end;
implementation
uses
InvokeRegistry;
initialization
InvRegistry.RegisterInterface(TypeInfo(IConvert));
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -