News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

C::B used as a external editor by IAR in windows xp ,how to use DDE model?

Started by donkeygl, May 03, 2013, 08:01:25 AM

Previous topic - Next topic

donkeygl

it must fill service parameter and command parameter,what "service" to fill?
command parameter i write "codeblocks OpenLine("$CUR_LINE$") " ,it right?

stahta01

I would try NetDDE but you might have better luck asking this question on an Windows XP support site.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

MortenMacFly

IIRC, then:
- DDE Service is named CODEBLOCKS
- DDE Topic is named CodeBlocksDDEServer

If unsure, check the files associations.{cpp/h} and app.{cpp/h} from SVN searching for "DDE".
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

MortenMacFly

...btw: For DDE debugging I found this tool ("DDE Monitor") very helpful:

http://www.javaparts.com/dde/download.php

Run it, then open a CPP file from the explorer (assuming you have this extension registered with C::B).
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

donkeygl

Quote from: MortenMacFly on May 03, 2013, 02:14:36 PM
IIRC, then:
- DDE Service is named CODEBLOCKS
- DDE Topic is named CodeBlocksDDEServer

If unsure, check the files associations.{cpp/h} and app.{cpp/h} from SVN searching for "DDE".
It no work that service param filled with "CODEBLOCKS"
it has a error----A DDE conversation with service "CODEBLOCKS" could not be establish