PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Retrieving the message on the server
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Triggers a Windows event on the system of an FTP server (File Transfer Protocol) or RPC server (Remote Procedure Call) powered by WINDEV. This event will be sent to all the windows opened on the server.
Caution: This function must be used on a client computer.
Note: To allow (or not) the use of this function on an FTP/RPC server, call NetServerOption.
ConnectRPC is int
ConnectRPC = NetConnect("148.61.125.245", RPCServer, "GUEST", "")
...
// Client side: sending a Windows message to the server
NetSendMessage(ConnectRPC, "MyMessage")
Syntax
NetSendMessage(<Connection Identifier> , <Event> [, <Parameter 1> [, <Parameter 2>]])
<Connection Identifier>: Integer
Identifier of the connection for the client computer (returned by NetConnect).
<Event>: Integer or Ansi chracter string
Identifier of the Windows event sent to the windows of the server (number of Windows event or specific character string).
<Parameter 1>: Optional integer
Parameter associated with the event.
<Parameter 2>: Optional integer
Parameter associated with the event.
Remarks

Retrieving the message on the server

The Windows message sent to the server can be retrieved by intercepting the event with Event (see the full example).
Component : wd250com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment