Author Topic: C::B used as a external editor by IAR in windows xp ,how to use DDE model?  (Read 7118 times)

Offline donkeygl

  • Single posting newcomer
  • *
  • Posts: 2
it must fill service parameter and command parameter,what "service" to fill?
command parameter i write "codeblocks OpenLine("$CUR_LINE$") " ,it right?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
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++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
...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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline donkeygl

  • Single posting newcomer
  • *
  • Posts: 2
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
« Last Edit: May 03, 2013, 03:39:33 pm by donkeygl »