Asks a DDE server application to provide data and stores that data in the specified variable. There are two ways of calling GetRemote, depending on the type of DDE connection you have established.
To |
Use |
---|---|
Make a single request of a DDE server application (called a cold link) |
|
Request data from a DDE server application after you have opened a channel (called a warm link) |
Asks a DDE server application to provide data and stores that data in the specified variable without requiring an open channel. This syntax is appropriate when you will make only one or two requests of the server.
GetRemote ( location, target, applname, topicname )
Integer. Returns 1 if it succeeds and a negative integer if an error occurs. Values are:
-1 Link was not started
-2 Request denied
Asks a DDE server application to provide data and stores that data in the specified variable when you have already established a warm link by opening a channel to the server. A warm link, with an open channel, is more efficient when you intend to make several DDE requests.
GetRemote ( location, target, handle {, windowhandle } )
Integer. Returns 1 if it succeeds and a negative integer if an error occurs.