Componentes.Terceros.RemObj.../internal/5.0.23.613/1/RemObjects SDK for Delphi/Samples/First Sample/FirstSample.Sample.html
david 2824855ea7 - Modificación del paquete RemObjects_Core_D10 para que sea un paquete de runtime/designtime (antes era designtime sólo)
- Recompilación en Delphi10 de todos los paquetes de RO para generar las DCU's en Lib\D10
- Recompilación en Delphi10 de todos los paquetes de DA para generar las DCU's en Lib\D10

git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.RemObjects@9 b6239004-a887-0f4b-9937-50029ccdca16
2007-09-10 14:06:19 +00:00

48 lines
1.8 KiB
HTML

<html>
<head>
<link rel="stylesheet" type="text/css" href="..\styles.css">
</head>
<body>
<img src="..\..\ro.png" alt="" align="right">
<!-------------------------------------------------------------------------->
<p class="h1">
<span>FirstSample</span>
</p>
<h2>Purpose</h2>
<p>This sample provides an introduction to using the Delphi edition of the RemObjects SDK product. The example shows how to define/implement methods on the server and how to access them from the client. The data consists of name information and four simple methods are provided by the service: Nicknames, VerifyName, CheckName and FullNames.</p>
<h2>Getting Started</h2>
<ul>
<li>Build or compile both projects.</li>
<li>Launch the server (via the menu option: <strong>RemObjects | Launch Server Executable</strong>).</li>
<li>Ensure that FirstSampleClient is the selected project and run it.</li>
<li>Check that the client buttons work as expected.</li>
<li>Modify the server names list and retry client actions.</li>
</ul>
<h2>Examine the Code</h2>
<ul>
<li>
See how the four methods were defined by editing the service library.
Do this by making the <strong>server</strong> the selected project and
by using the menu option: <strong>RemObjects | Edit Service Library</strong>.
Note: if you don't see this menu option but see 'Service Builder' instead,
you still have the client set as the current project.
Examine the methods added to <strong>FirstSampleService</strong>.
</li>
<li>
Check how the server methods were implemented in
<strong>FirstSampleService_Impl.pas</strong>.
</li>
<li>
Examine the simple code needed to invoke the methods in
<strong>FirstSampleClientMain.pas</strong>.
</li>
</ul>
</body>
</html>