ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / DDE functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
DDEWarmLink (Function)
In french: DDELienTiède
Creates a warm link with a data.
Creating a "warm" link with a data means that the program will be notified by the server (connected program) whenever the linked data is modified but without receiving its value. Therefore, you must branch to a procedure in response to the DDE event used to modify a linked data (DDEEvent with the DDEtoModify event).
Example
MaConnexion = DDEConnect("Excel", "Feuille1")
DDEEvent("ProcModif", DDEtoModify)
DDEWarmLink(MaConnexion, "L1C1", 1)
Syntax
<Result> = DDEWarmLink(<Connection ID> , <Object> [, <Timeout>])
<Result>: Boolean
  • True if the link was created,
  • False if an error occurred (DDEError returns the details of the error).
<Connection ID>: Integer
Connection identifier, returned by DDEConnect.
<Object>: Character string
Object of connection.
<Timeout>: Optional integer or optional Duration
Maximum wait duration (in seconds). If the command was not run:
  • If <Timeout> is specified, there is a delay of <Timeout> seconds before exiting DDEWarmLink.
  • If <Timeout> is not specified, there is an endless wait.
Note: This parameter can correspond to:
  • an integer corresponding to the number of seconds,
  • a Duration variable,
  • duration in plain text (e.g. '1s').
Remarks
A DDE link must not be active during printing: it must be made inactive using the DDEUnLink function.
Component: wd300std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/25/2025

Send a report | Local help