📄 fclientform.~pas
字号:
unit fClientForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls,
uROClient, uROClientIntf, uRORemoteService, uROBinMessage, uROWinInetHTTPChannel;
type
TClientForm = class(TForm)
ROMessage: TROBinMessage;
ROChannel: TROWinInetHTTPChannel;
RORemoteService: TRORemoteService;
private
{ Private declarations }
public
{ Public declarations }
end;
var
ClientForm: TClientForm;
implementation
{
The unit NewLibrary_Intf.pas will be generated by the RemObjects preprocessor the first time you
compile your server application. Make sure to do that before trying to compile the client.
To invoke your server simply typecast your server to the name of the service interface like this:
(RORemoteService as INewService).Sum(1,2)
}
uses NewLibrary_Intf;
{$R *.dfm}
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -