From: Subject: NetDDE for NT, Network DDE and the NetDDE Extensions Date: Tue, 2 Nov 2004 12:32:39 -0000 MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_0000_01C4C0D8.0A7A9090"; type="text/html" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C4C0D8.0A7A9090 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Content-Location: http://www.wonderware.com/support/mmi/comprehensive/kbcd/html/netdde_7.htm NetDDE for NT, Network DDE and the NetDDE = Extensions

Tech Note 4
NetDDE for NT, = Network DDE=20 and the NetDDE Extensions

All Tech Notes and KBCD documents and software are provided = "as is"=20 without warranty of any kind. See the Terms=20 of Use for more information.

Topic#: 000403
Created: February 1, 1996

Wonderware NetDDE and Microsoft Network DDE

Wonderware=AE NetDDE=99 was developed by Wonderware to extend the = Microsoft=20 Windows DDE capabilities across different networks. With NetDDE, you can = establish multiple DDE conversations between Windows, Windows NT, = Windows 95,=20 UNIX, and VMS programs that run on different computers within a network. = NetDDE=20 on Windows NT supports NetBIOS and Windows Sockets=20 (Winsock) compliant TCP/IP stack protocols.

In May 1992, Wonderware and Microsoft signed a licensing agreement = that=20 allowed Microsoft to bundle the NetBIOS version of Wonderware NetDDE = into the=20 Microsoft office products. This led to a Microsoft version of NetDDE = called=20 Network DDE. Network DDE is bundled by Microsoft with the Windows = for=20 Workgroups (WFW), Windows 95 and Windows NT operating systems.

By default, Network DDE on Windows NT comes with the Microsoft = NetBIOS=20 interface and the NetBEUI transport protocol. But, you can install a = Winsock=20 compliant TCP/IP stack (usually the Microsoft TCP/IP stack) in place of = NetBIOS=20 and still use the NetBEUI protocol.

Note on Windows NT NetDDE Services and DDE Security

With Windows NT version 3.1, the NetDDE services used to start up=20 automatically. However, with Windows NT version 3.5, the NetDDE services = do not=20 automatically start up. (The reason is Microsoft wanted Windows NT to = initiate=20 faster.) You need to configure the NetDDE services by selecting = Control=20 Panel/Services. Make sure that you set Network DDE to=20 Automatic startup and Network DDE DSDM to Manual startup, = because=20 it is started automatically by the Network DDE service.

You also need to configure the DDE Security if you will have a server = on=20 Windows NT that provides data to a DDE client on another node. For more=20 information, see Configuring=20 DDE Security for Windows and Windows NT.

Wonderware NetDDE Extensions for Windows NT

The Wonderware NetDDE Extensions for Windows NT is an option = (not a=20 requirement) that allows a Windows NT computer to communicate with = another=20 computer using TCP/IP.

When the NetDDE extensions are installed on a Windows NT computer, = they will:=20 1) modify the Windows NT NETDDE.EXE file so that the default queue size = is=20 increased from 20 to 1000; 2) add a GUI for DDE Share Security = Management; and=20 3) add TCP/IP support through Winsock.

To avoid having the NetDDE Services hang on startup, you must add = your=20 computer node name in the HOSTS file. That is, modify the file=20 \WINNT35\SYSTEM32\DRIVERS\ETC\HOSTS and add the IP address and node name = of your=20 Windows NT node.

Note You must have TCP/IP configured on your = computer=20 before you install version 1.3a of the NetDDE extensions. (Version 1.3b = corrects=20 this problem.) If you install the NetDDE extensions before TCP/IP is = configured,=20 then you will get network drive errors or service errors. The reason is = the=20 installation program cannot check to see if TCP/IP is installed and it = goes=20 ahead and changes the System Registry. Thus, if you do not have TCP/IP=20 installed, errors will result because the System Registry has changed. = (See Uninstalling=20 NetDDE Extensions for Windows NT for more information.)

Windows NT NetDDE Communication Requirements

The following two sections describe the requirements for NetDDE = communication=20 using Windows NT, both with NetBIOS and with TCP/IP:

Windows NT and NetBIOS

No setup is necessary to allow Windows NT to communicate using = NetBIOS. This=20 is because Microsoft Network DDE is built into the Windows NT operating = system.=20 You do not need to install the Wonderware NetDDE Extensions for Windows = NT on=20 the Windows NT node to communicate using NetBIOS.

The Windows NT node can communicate using NetBIOS to any other = platform that=20 is running NetDDE and has the NetBIOS interface configured. Currently, = the other=20 platforms that support NetDDE communication with NetBIOS are Windows = 3.1,=20 Windows for Workgroups, and Windows 95.

Note To communicate NetBIOS between a Windows NT = node and a=20 Windows 3.1 node, you must install NetBIOS and Wonderware NetDDE for = Windows=20 (release 1.3 or later) on the Windows 3.1 node. (Release 1.2 and earlier = of=20 Wonderware NetDDE for Windows did not have the security features that = are=20 required by Windows NT.)

Windows NT and TCP/IP

To set up the Windows NT node to communicate using TCP/IP, you must = install=20 the Wonderware NetDDE Extensions for Windows NT and configure = TCP/IP on=20 the Windows NT node. This must be done on both Windows NT nodes if you = are=20 communicating between two Windows NT nodes.

The Windows NT node can communicate using TCP/IP to any other = platform that=20 is running NetDDE and has a supported TCP/IP stack. Currently, the other = platforms that support NetDDE communication with TCP/IP are Windows = 3.1,=20 Windows for Workgroups, Windows 95, and a variety of = UNIX=20 and VMS platforms. For a current list of NetDDE platforms and = their=20 supported TCP/IP stacks, see Matrix=20 of Supported Network Software for NetDDE.

Note There is a current limitation where a DDE = client on a=20 UNIX or VMS computer cannot communicate directly to a I/O Server on a = Windows NT=20 or WFW computer that has password protection. This is because Wonderware = has not=20 yet implemented NT-type security in their NetDDE for UNIX and VMS. For a = workaround, see Connecting=20 a DDE Client on VAX or UNIX to a I/O Server on NT.

D. Ujifusa

The Tech = Note is=20 published occasionally by Wonderware Technical Support. Editors: Sabrina = Abercromby and Kelly Hauser; Publisher: Wonderware Corporation, 100 = Technology=20 Drive, Irvine CA 92618. There is also technical information on our = software=20 products at www.wonderware.com/support/mmi, our WonderFax = fax-on-demand=20 system at (949) 450-5050, and the Comprehensive Support Knowledge Base.

back to top

------=_NextPart_000_0000_01C4C0D8.0A7A9090 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: http://www.wonderware.com/support/mmi/comprehensive/kbcd/html/uparrow.gif R0lGODlhEQAQAPcAAAAAAAEBAQICAgMDAwQEBAUFBQYGBgcHBwgICAkJCQoKCgsLCwwMDA0NDQ4O Dg8PDxAQEBERERISEhMTExQUFBUVFRYWFhcXFxgYGBkZGRoaGhsbGxwcHB0dHR4eHh8fHyAgICEh ISIiIiMjIyQkJCUlJSYmJicnJygoKCkpKSoqKisrKywsLC0tLS4uLi8vLzAwMDExMTIyMjMzMzQ0 NDU1NTY2Njc3Nzg4ODk5OTo6Ojs7Ozw8PD09PT4+Pj8/P0BAQEFBQUJCQkNDQ0REREVFRUZGRkdH R0hISElJSUpKSktLS0xMTE1NTU5OTk9PT1BQUFFRUVJSUlNTU1RUVFVVVVZWVldXV1hYWFlZWVpa WltbW1xcXF1dXV5eXl9fX2BgYGFhYWJiYmNjY2RkZGVlZWZmZmdnZ2hoaGlpaWpqamtra2xsbG1t bW5ubm9vb3BwcHFxcXJycnNzc3R0dHV1dXZ2dnd3d3h4eHl5eXp6ent7e3x8fH19fX5+fn9/f4CA gIGBgYKCgoODg4SEhIWFhYaGhoeHh4iIiImJiYqKiouLi4yMjI2NjY6Ojo+Pj5CQkJGRkZKSkpOT k5SUlJWVlZaWlpeXl5iYmJmZmZqampubm5ycnJ2dnZ6enp+fn6CgoKGhoaKioqOjo6SkpKWlpaam pqenp6ioqKmpqaqqqqurq6ysrK2tra6urq+vr7CwsLGxsbKysrOzs7S0tLW1tba2tre3t7i4uLm5 ubq6uru7u7y8vL29vb6+vr+/v8DAwMHBwcLCwsPDw8TExMXFxcbGxsfHx8jIyMnJycrKysvLy8zM zM3Nzc7Ozs/Pz9DQ0NHR0dLS0tPT09TU1NXV1dbW1tfX19jY2NnZ2dra2tvb29zc3N3d3d7e3t/f 3+Dg4OHh4eLi4uPj4+Tk5OXl5ebm5ufn5+jo6Onp6erq6uvr6+zs7O3t7e7u7u/v7/Dw8PHx8fLy 8vPz8/T09PX19fb29vf39/j4+Pn5+fr6+vv7+/z8/P39/f7+/v///yH5BAAAAAAALAAAAAARABAA AAhYAAMIHEiw4MB/CBMqXChwocOEgBr+A0aRYoCKFAFFDIAQ40CMGiVWLFgxJMeJwAxeBGayo0qB LDcifDmwJU2CMm/WFImxZ0yePkvK1Ei0qFGBRpMW1akyIAA7 ------=_NextPart_000_0000_01C4C0D8.0A7A9090 Content-Type: text/css; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://www.wonderware.com/support/mmi/comprehensive/kbcd/html/nnstyle.css A:link { FONT-WEIGHT: bold; COLOR: #6666cc; TEXT-DECORATION: none } A:visited { FONT-WEIGHT: bold; COLOR: #9999ff; TEXT-DECORATION: none } A:active { FONT-WEIGHT: bold; BACKGROUND: silver } A:hover { FONT-WEIGHT: bold; TEXT-DECORATION: underline } BODY { BACKGROUND: white; MARGIN: 1.5em; COLOR: black; FONT-FAMILY: Verdana, = Myriad Web, Syntax, sans-serif; font-size-adjust: .58 } P { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Myriad Web, Syntax, sans-serif } PRE { COLOR: #663399; FONT-FAMILY: Courier New, Courier, monospace } UL { FONT-SIZE: 10pt } OL { FONT-SIZE: 10pt } OL LI { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Myriad Web, Syntax, sans-serif } P OL LI { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Myriad Web, Syntax, sans-serif } OL UL { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Myriad Web, Syntax, sans-serif } H1 { FONT-FAMILY: Tahoma, Verdana, Myriad Web, Syntax, sans-serif } H2 { FONT-FAMILY: Tahoma, Verdana, Myriad Web, Syntax, sans-serif } H3 { FONT-FAMILY: Tahoma, Verdana, Myriad Web, Syntax, sans-serif } H4 { FONT-FAMILY: Tahoma, Verdana, Myriad Web, Syntax, sans-serif } H5 { FONT-FAMILY: Tahoma, Verdana, Myriad Web, Syntax, sans-serif } H6 { FONT-FAMILY: Tahoma, Verdana, Myriad Web, Syntax, sans-serif } H1 { FONT-WEIGHT: 600; FONT-SIZE: 1.3em; COLOR: #6666cc; font-size-adjust: = .53 } H2 { FONT-WEIGHT: 500; FONT-SIZE: 1.3em; COLOR: #6666cc; font-size-adjust: = .53 } H3 { FONT-WEIGHT: 400; FONT-SIZE: 1.1em; COLOR: #6666cc; font-size-adjust: = .53 } H4 { FONT-WEIGHT: 600; FONT-SIZE: 0.9em; COLOR: #6666cc; font-size-adjust: = .53 } SMALL { FONT-SIZE: 8pt } STRONG { FONT-WEIGHT: bold } TD { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Myriad Web, Syntax, sans-serif } .input { COLOR: #663399; FONT-FAMILY: Courier New, Courier, monospace } .note { BORDER-RIGHT: silver thin solid; PADDING-RIGHT: 0.3em; BORDER-TOP: = silver thin solid; PADDING-LEFT: 0.3em; MARGIN-BOTTOM: 1em; = PADDING-BOTTOM: 0.3em; BORDER-LEFT: silver thin solid; PADDING-TOP: = 0.3em; BORDER-BOTTOM: silver thin solid; FONT-FAMILY: Verdana, Myriad = Web, Syntax, sans-serif } .figure { FONT-WEIGHT: bold; FONT-VARIANT: small-caps } .tborder { BORDER-RIGHT: #6666cc 0px solid; BORDER-TOP: #6666cc 0.1em solid; = BORDER-LEFT: #6666cc 0px solid; PADDING-TOP: 3.08em; BORDER-BOTTOM: = #6666cc 0px solid } ------=_NextPart_000_0000_01C4C0D8.0A7A9090 Content-Type: text/css; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://www.wonderware.com/support/mmi/comprehensive/kbcd/html/iestyle.css A:link { FONT-WEIGHT: bold; COLOR: #6666cc; TEXT-DECORATION: none } A:visited { FONT-WEIGHT: bold; COLOR: #9999ff; TEXT-DECORATION: none } A:active { FONT-WEIGHT: bold; BACKGROUND: silver } A:hover { FONT-WEIGHT: bold; TEXT-DECORATION: underline } BODY { BACKGROUND: white; MARGIN: 1.5em 1.5em 1em; COLOR: black; FONT-FAMILY: = Verdana, Myriad Web, Syntax, sans-serif; font-size-adjust: .58 } P { FONT-SIZE: 0.8em; FONT-FAMILY: Verdana, Myriad Web, Syntax, sans-serif } PRE { COLOR: #663399; FONT-FAMILY: Courier New, Courier, monospace } UL { FONT-SIZE: 0.8em } OL { FONT-SIZE: 0.8em } OL LI { FONT-FAMILY: Verdana, Myriad Web, Syntax, sans-serif } LI { MARGIN-BOTTOM: 1em } OL P { FONT-SIZE: 1em } OL OL { FONT-SIZE: 1em } UL LI P { FONT-SIZE: 1em } OL UL { FONT-SIZE: 1em } H1 { FONT-FAMILY: Tahoma, Verdana, Myriad Web, Syntax, sans-serif } H2 { FONT-FAMILY: Tahoma, Verdana, Myriad Web, Syntax, sans-serif } H3 { FONT-FAMILY: Tahoma, Verdana, Myriad Web, Syntax, sans-serif } H4 { FONT-FAMILY: Tahoma, Verdana, Myriad Web, Syntax, sans-serif } H5 { FONT-FAMILY: Tahoma, Verdana, Myriad Web, Syntax, sans-serif } H6 { FONT-FAMILY: Tahoma, Verdana, Myriad Web, Syntax, sans-serif } H1 { BORDER-RIGHT: gray 0px solid; BORDER-TOP: gray 0px solid; FONT-WEIGHT: = 400; FONT-SIZE: 1.3em; PADDING-BOTTOM: 1.5em; BORDER-LEFT: gray 0px = solid; COLOR: #6666cc; BORDER-BOTTOM: gray 0.1em solid; = font-size-adjust: .53 } H2 { PADDING-RIGHT: 0.2em; PADDING-LEFT: 0.2em; FONT-WEIGHT: 500; FONT-SIZE: = 1.1em; BACKGROUND: #6666cc; PADDING-BOTTOM: 0.2em; COLOR: white; = PADDING-TOP: 0.2em; font-size-adjust: .53 } H3 { FONT-WEIGHT: 400; FONT-SIZE: 1.1em; COLOR: #6666cc; font-size-adjust: = .53 } H4 { FONT-WEIGHT: 600; FONT-SIZE: 0.9em; COLOR: #6666cc; font-size-adjust: = .53 } SMALL { FONT-SIZE: 0.8em } STRONG { FONT-WEIGHT: bold } TD { FONT-SIZE: 0.8em; FONT-FAMILY: Verdana, Myriad Web, Syntax, sans-serif } .input { COLOR: #663399; FONT-FAMILY: Courier New, Courier, monospace } .note { BORDER-RIGHT: silver thin solid; PADDING-RIGHT: 0.3em; BORDER-TOP: = silver thin solid; PADDING-LEFT: 0.3em; PADDING-BOTTOM: 0.3em; = BORDER-LEFT: silver thin solid; PADDING-TOP: 0.3em; BORDER-BOTTOM: = silver thin solid; FONT-FAMILY: Verdana, Myriad Web, Syntax, sans-serif } .figure { FONT-WEIGHT: bold; FONT-VARIANT: small-caps } .tborder { BORDER-RIGHT: #6666cc 0px solid; BORDER-TOP: #6666cc 0.1em solid; = BORDER-LEFT: #6666cc 0px solid; PADDING-TOP: 3.08em; BORDER-BOTTOM: = #6666cc 0px solid } ------=_NextPart_000_0000_01C4C0D8.0A7A9090--