Componentes.Terceros.RemObj.../internal/5.0.23.613/1/RemObjects SDK for Delphi/Samples/COM/ROASPDemo.asp
david f0e35ec439 - Eliminadas las librerías para Delphi 6 (Dcu\D6) en RO y DA.
- Recompilación de RO para poner RemObjects_Core_D10 como paquete de runtime/designtime.

git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.RemObjects@3 b6239004-a887-0f4b-9937-50029ccdca16
2007-09-10 10:40:17 +00:00

27 lines
777 B
Plaintext

<!--
Please run
<RemObjects SDK for Delphi>\Samples\MegaDemo\MegaDemoServer.exe
and activate HTTP server"
-->
<%
Dim result
Set ROServer = Server.CreateObject("RemObjects.SDK.COMServer")
ROServer.MessageType = "TROBINMessage"
ROServer.ChannelType = "TROWinInetHTTPChannel"
ROServer.SetChannelProperty "TargetURL", "http://localhost:8099/BIN"
Set MegaDemoService = ROServer.CreateService("MegaDemoService")
Response.Write "This is an ASP page that invokes methods of the RemObjects MegaDemo<BR>"
result = MegaDemoService.Sum(100, 200)
Response.Write "The result of 100+200 is " & result & "<BR>"
result = MegaDemoService.GetServerTime
Response.Write "The time on the server is " & result
Set MegaDemoService = nothing
Set ROServer = nothing
%>