External editor using DDE

Technical Note 68360

Architectures:

All

Component:

IDE

Updated:

2018/2/8 6:14

Introduction

You want to use an external editor, configured on Tools > Options > Editor > External Editor, using the DDE interface (Windows Dynamic Data Exchange). If you get the following error message:

A DDE conversation with the service xyz could not be established

.. you should ensure that the service application "xyz" has DDE enabled.

Details

Turning on the DDE service may be an option in a menu somewhere in the external editor application, or it may be an option in a configuration file. Some versions of CodeWright, for instance, has this in cwright.ini. There is a section LibPreLoad as below.

[LibPreLoad]
; Uncomment to preload desired libraries during startup:
;LibPreload=cwdde.dll

Also note that you may need to install this DLL, if it was not selected during installation.

Background

IAR Embedded Workbench first asks Windows for the specified service, and if none is available, the application specified under Editor is started and the question is asked again. If the service still is not available, the error message above is given.

 

All product names are trademarks or registered trademarks of their respective owners.

很抱歉,该页面尚未翻译成中文。

如果您有任何问题,请联系我们的中国团队

We do no longer support Internet Explorer. To get the best experience of iar.com, we recommend upgrading to a modern browser such as Chrome or Edge.