 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Pat Guest
|
Posted: Mon Nov 24, 2003 10:13 am Post subject: DDE converastion in Delphi 7.0 |
|
|
Hi,
I have created 2 Delphi applications, one as a DDE Server and the
seond as a DDE Client.
I am trying to call the Server from the Client with
DEClientConv1.ExecuteMacro(<command Line>, true) . Also in the Server
I have the DdeServerConv1.ExecuteMacro(<int>) func.
However on running the Client it goes thru the statements and then in
the end gives me a Access violation for no obvious reason.
In my Server Application, I have the TDdeServerConv and the
TDdeServerItem objects. In my Client app, I have the TDdeClientConv
object. Also when I try to set a link from my client to the server by
specifying the DDEService and the DDETopic it says 'Unable to connect
DDE conversation'. The paths specified in these are correct.
Would be glad of any help.
Thanks,
Pat
|
|
| Back to top |
|
 |
J French Guest
|
Posted: Mon Nov 24, 2003 12:54 pm Post subject: Re: DDE converastion in Delphi 7.0 |
|
|
On 24 Nov 2003 02:13:51 -0800, [email]p_atb (AT) yahoo (DOT) com[/email] (Pat) wrote:
| Quote: | Hi,
I have created 2 Delphi applications, one as a DDE Server and the
seond as a DDE Client.
I am trying to call the Server from the Client with
DEClientConv1.ExecuteMacro(<command Line>, true) . Also in the Server
I have the DdeServerConv1.ExecuteMacro(<int>) func.
However on running the Client it goes thru the statements and then in
the end gives me a Access violation for no obvious reason.
In my Server Application, I have the TDdeServerConv and the
TDdeServerItem objects. In my Client app, I have the TDdeClientConv
object. Also when I try to set a link from my client to the server by
specifying the DDEService and the DDETopic it says 'Unable to connect
DDE conversation'. The paths specified in these are correct.
Would be glad of any help.
|
This might sound unhelpful, but ...
Do you really need to use DDE ?
If it is for communication to another App that is 3rd party
- then ignore the rest
TCP/IP is a pretty good method of communicating with anything
For communicating with two Apps on the same machine
- then SendMessage is ideal
If you do not *have* to use DDE (aka DDT) then, I would suggest that
you avoid it like the plague.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|