DDEShareAdd
(Engine-Level Function)
| Description: | Adds a new DDE share name to the SYSTEM.INI file or the registry and returns its own error code. |
| Returns: | Numeric |
Usage: ![]() |
Script Only. |
| Function Groups: | DDE |
| Related to: | DDE | DDEPoke | DDEShareDel | SetDDEServer |
Format: ![]() |
DDEShareAdd(Object, ShareName, Password) |
| Parameters: |
| Object |
| Required. Any object expression giving the module instance whose variables' value will be shared. |
| ShareName |
| Required. Any text expression that gives the DDE share name other DDE enabled programs use to access the variables in Object. |
| Password |
| Required. Any text expression that gives the password required to access this DDE share name. If this is invalid, no password is required. |
| Comments: |
VTScada DDE functionality is deprecated as of version 12.0.00 and should not be used in new applications. Extreme care is advised for its continued use. Special configuration is required to run, please reference Use VTScada as a DDE Server. The return value of this function is true if successful, false if unsuccessful, and invalid if not attempted (i.e. invalid parameters). |
