October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Redmond desk3 min

What Is Dynamic Data Exchange (DDE) in Windows?

Dynamic Data Exchange (DDE) lets Windows applications exchange data through messages and shared memory. Learn how its conversations and links work, and why DDE commands warrant caution in Office documents.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Dynamic Data Exchange (DDE) is a Windows protocol that lets applications exchange information through messages and shared memory. It can transfer a value once or keep data linked so changes in one application reach another. DDE has legitimate uses in software integration, but its command-execution feature has also been abused in malicious Office documents.

How a DDE conversation works

One application starts a conversation as the client; another responds as the server. Those roles are per conversation, so an application can be a client in one exchange and a server in another. DDE messages coordinate the exchange, while shared memory carries larger data.

A conversation identifies the information through three parts:

  • Service or application: identifies the server application.
  • Topic: groups related information, often around a document.
  • Item: identifies the particular value or data being exchanged.

This structure lets a client specify not merely which application it wants to contact, but also which topic and item within that application it needs.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Logitech K120 Full Size Wired Keyboard USB Plug-and-Play Windows - Black
  • All-day Comfort: The design of this standard keyboard creates a comfortable typing experience thanks to the deep-profile keys and full-size standard layout with F-keys and number pad
  • Easy to Set-up and Use: Set-up couldn't be easier, you simply plug in this corded keyboard via USB on your desktop or laptop and start using right away without any software installation
  • Compatibility: This full-size keyboard is compatible with Windows 7, 8, 10 or later, plus it's a reliable and durable partner for your desk at home, or at work
  • Spill-proof: This durable keyboard features a spill-resistant design (1), anti-fade keys and sturdy tilt legs with adjustable height, meaning this keyboard is built to last
  • Plastic parts in K120 include 51% certified post-consumer recycled plastic*

What DDE can do

DDE supports several kinds of interaction: requesting a value, sending data to a server, receiving a response, sending a command for execution, and creating an update link. Microsoft describes messages such as WM_DDE_INITIATE, WM_DDE_REQUEST, WM_DDE_DATA, WM_DDE_ADVISE, WM_DDE_EXECUTE, and WM_DDE_TERMINATE as part of the protocol. See Microsoft’s overview of Dynamic Data Exchange.

One-time requests and ongoing links

A client can ask for a value once, or establish a link that remains active until the link or conversation ends. In a warm link, the server notifies the client when data changes, and the client then requests the updated value. In a hot link, the server sends the changed value directly.

Rank #2
Sale
Amazon Basics Wired QWERTY Keyboard, Works with Windows, Plug and Play, Easy to Use with Media Control, Full-Sized, Black
  • KEYBOARD: The keyboard works for Windows with hot keys that enable easy access to Media, My Computer, Mute, Volume up/down, and Calculator
  • EASY SETUP: Experience simple installation with the USB wired connection
  • VERSATILE COMPATIBILITY: This keyboard is designed to work with multiple Windows versions, including Vista, 7, 8, 10 offering broad compatibility across devices.
  • SLEEK DESIGN: The elegant black color of the wired keyboard complements your tech and decor, adding a stylish and cohesive look to any setup without sacrificing function.
  • FULL-SIZED CONVENIENCE: The standard QWERTY layout of this keyboard set offers a familiar typing experience, ideal for both professional tasks and personal use.

Examples of legitimate use

Microsoft gives examples including receiving live information such as stock quotes or scientific-instrument data, keeping a chart embedded in a word-processing document synchronized with its source, and letting a spreadsheet query a database. These illustrate DDE’s role as an application-to-application integration mechanism; they do not mean every modern application uses it.

DDE messages and DDEML

DDE’s lower-level message parameters refer indirectly to atoms and shared-memory handles. Applications that implement the protocol directly must follow its rules for ownership and cleanup. Microsoft provides the Dynamic Data Exchange Management Library (DDEML) to manage conversations and shared strings and data at a higher level.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Logitech MK120 Full Size Wired Keyboard and Mouse Combo - Black
  • Durable and Reliable: This USB keyboard features a curved space bar, spill-resistant design (2), durable keys that can withstand 10 million keystrokes, and sturdy, adjustable tilt legs
  • Comfortable, Familiar Typing: You’ll enjoy a comfortable and familiar typing experience thanks to the deep-profile keys and standard layout with full-size F-keys and number pad
  • Full-size Sculpted Mouse: The high-definition optical USB mouse puts comfort and control in your hands with smooth, accurate tracking and an ambidextrous shape that feels good hour after hour
  • Simple Set-Up: Simply plug the keyboard and mouse into the USB ports on your desktop, laptop, or netbook and you're ready to work; compatible with Windows 7, 8, 10 or later
  • Clear and Convenient: The bold, bright white and long-lasting characters make the keys on this PC or laptop keyboard easy to read and extra durable
Approach What the application handles Microsoft guidance
Direct DDE messages The application handles the protocol messages and the associated atom and shared-memory ownership and cleanup rules. Compatible with DDEML, but Microsoft recommends that new applications use DDEML.
DDEML The library manages DDE conversations and shared strings and data through a higher-level API. Recommended by Microsoft for new applications; compatible with message-based DDE.

Microsoft explains the library’s role and recommendation in its DDEML documentation. This comparison is about implementation responsibilities; it does not establish that DDE is faster, safer, or preferable to other interprocess communication methods.

Is DDE dangerous in Office documents?

DDE itself is a communication protocol, not inherently malicious. However, its command-execution mechanism has been used in malicious Office documents. CISA describes DDE commands in documents delivered through phishing campaigns or hosted web content, where they could trigger execution without relying on VBA macros. CISA’s DDE technique entry documents that abuse path.

Rank #4
Sale
Arteck 2.4G USB Wireless Keyboard Full Size Keyboard for Computer/PC/Laptop
  • Easy Setup: Simply insert the nano USB receiver into your computer and use the keyboard instantly. Arteck 2.4G Wireless Keyboard Stainless Steel Ultra Slim Full Size Keyboard with Numeric Keypad for Computer/Desktop/PC/Laptop/Surface/Smart TV and Windows 10/8/ 7 Built in Rechargeable Battery
  • Ergonomic design: Stainless steel material gives heavy duty feeling, low-profile keys offer quiet and comfortable typing.
  • 6-Month Battery Life: Rechargeable lithium battery with an industry-high capacity lasts for 6 months with single charge (based on 2 hours non-stop use per day).
  • Ultra Thin and Light: Compact size (16.9 X 4.9 X 0.6in) and light weight (14.9oz) but provides full size keys, arrow keys, number pad, shortcuts for comfortable typing.
  • Package contents: Arteck Stainless 2.4G Wireless Keyboard, nano USB receiver, USB charging cable, welcome guide, our 24-month warranty and friendly customer service.

The security concern is therefore contextual: an unexpected document that attempts to run a DDE command deserves caution, but the existence of DDE does not make every DDE link or application malicious. Treat unsolicited attachments and prompts to enable or run document content carefully, and follow your organization’s security guidance.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What DDE does—and does not—tell you

DDE is a Windows mechanism for coordinating data exchange between applications, with options for one-time requests and continuing update links. It is useful to recognize the term when encountering legacy integrations, Windows programming documentation, or Office-document security discussions. The sources cited here do not establish how DDE compares with newer IPC mechanisms, so they do not support a blanket recommendation to choose it over a particular alternative.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

SaleBestseller No. 1
Logitech K120 Full Size Wired Keyboard USB Plug-and-Play Windows - Black
Logitech K120 Full Size Wired Keyboard USB Plug-and-Play Windows - Black
Plastic parts in K120 include 51% certified post-consumer recycled plastic*; Product carbon footprint: 4.02 kg CO2e
$12.39
SaleBestseller No. 2
SaleBestseller No. 3
Logitech MK120 Full Size Wired Keyboard and Mouse Combo - Black
Logitech MK120 Full Size Wired Keyboard and Mouse Combo - Black
Product carbon footprint: 5.03 kg CO2e
$17.77
Best Value
Sale
Logitech MK270 Full Size Wireless Keyboard and Mouse Combo - Black
  • Reliable Plug and Play: The USB receiver provides a reliable wireless connection up to 33 ft (1), so you can forget about drop-outs and delays and you can take it wherever you use your computer
  • Type in Comfort: The design of this keyboard creates a comfortable typing experience thanks to the low-profile, quiet keys and standard layout with full-size F-keys, number pad, and arrow keys
  • Durable and Resilient: This full-size wireless keyboard features a spill-resistant design (2), durable keys and sturdy tilt legs with adjustable height
  • Long Battery Life: MK270 combo features a 36-month keyboard and 12-month mouse battery life (3), along with on/off switches allowing you to go months without the hassle of changing batteries
  • Easy to Use: This wireless keyboard and mouse combo features 8 multimedia hotkeys for instant access to the Internet, email, play/pause, and volume so you can easily check out your favorite sites

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.