BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DDE converastion in Delphi 7.0

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc
View previous topic :: View next topic  
Author Message
Pat
Guest





PostPosted: Mon Nov 24, 2003 10:13 am    Post subject: DDE converastion in Delphi 7.0 Reply with 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.
Thanks,
Pat
Back to top
J French
Guest





PostPosted: Mon Nov 24, 2003 12:54 pm    Post subject: Re: DDE converastion in Delphi 7.0 Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.