Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7673501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:31:33+00:00 2026-05-31T16:31:33+00:00

I am trying to communicate between two Windows applications in Delphi. Sender sends commands

  • 0

I am trying to communicate between two Windows applications in Delphi. Sender sends commands via SendMessage using WM_COPYDATA. That part is working fine. Is it possible for the receiver to reply back some result strings in the same call? It is failing for me and following is what is happening now.

  1. Sender uses WM_COPYDATA to send a command to the Receiver using the blocking call SendMessge.

  2. Receiver processes the command and modify the COPYDATASTRUCT with some result strings that must be sent back to the sender and exit out of the event handler

  3. Receiver’s “SendMessage” function returns but the contents of the COPYDATASTRUCT are still unchanged.

Apparently Windows’ messaging mechanism is not sharing the COPYDATASTRUCT memory between two applications. Instead it is making a copy.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T16:31:35+00:00Added an answer on May 31, 2026 at 4:31 pm

    WM_COPYDATA does just what it says: It copies the data from the source process to the target process. It does not copy the data back from the target process to the source process. If you want bidirectional communication, send another message the other direction.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to communicate between two C# / .NET 3.5 applications using Windows Messages,
I'm trying to communicate between my PC (Windows 7 using Netbeans and RXTX) with
I am trying to communicate between two android emulators for communication , thus I
I am trying to communicate between two processes. From MSDN Documentation, I came across
I am trying to communicate between 2 applications. 1 matlab application 1 C# written
When using websockets I noticed some message loss. I am trying to communicate between
I've been having trouble trying to communicate between PHP and my iOS application using
I am trying to communicate between an applet and a servlet. I first tried
I get this message when trying to communicate with software that communicates with SOAP?
I have an applet that throws this exception when trying to communicate with the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.