Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: donkeygl on May 03, 2013, 08:01:25 am

Title: C::B used as a external editor by IAR in windows xp ,how to use DDE model?
Post by: donkeygl on May 03, 2013, 08:01:25 am
it must fill service parameter and command parameter,what "service" to fill?
command parameter i write "codeblocks OpenLine("$CUR_LINE$") " ,it right?
Title: Re: C::B used as a external editor by IAR in windows xp ,how to use DDE model?
Post by: stahta01 on May 03, 2013, 01:07:46 pm
I would try NetDDE but you might have better luck asking this question on an Windows XP support site.

Tim S.
Title: Re: C::B used as a external editor by IAR in windows xp ,how to use DDE model?
Post by: 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".
Title: Re: C::B used as a external editor by IAR in windows xp ,how to use DDE model?
Post by: MortenMacFly on May 03, 2013, 02:17:35 pm
...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).
Title: Re: C::B used as a external editor by IAR in windows xp ,how to use DDE model?
Post by: donkeygl on May 03, 2013, 03:33:51 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