Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

How do you use DDE Links across a network?

How do you use DDE Links across a network?

How do you use DDE Links across a network?

I'm trying to write two programs ,one that does the updates to the database, and the other displays messages to the user in the other program that calls on the same database, and would prefer to use a DDE will display the information to the other program. I can do it using the programs on the same computer, but when I place them across a network, I get nothing.

RE: How do you use DDE Links across a network?

As far as I know you can only use DDE on the same computer. Try using a winsock message program to transmit messages to other computers on a network.

RE: How do you use DDE Links across a network?

Hi Ctussey, spacey!

NetDDE is fairly difficult to use, and definately undocumented. I think Microsoft is actively discouraging it's use (with good reason, IMO) You would be better off using DCOM or writing a sockets application.

If you're ambitious, here's something to try: Use a Named Pipe to communicate. You can find samples in the MSDN under:
    Platfom SDK
        Windows Base Services
            Interprocess Communication

It handles all the messy lookup functions (finding the other machine, etc), and has a function called TransactNamedPipe which does a write and a read to/from the pipe all in one api call.

Chip H.

RE: How do you use DDE Links across a network?

Thanks Chip

I'll give that a try. And your right, I haven't found any good information on using the NetDDE.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close