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 7745211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:57:24+00:00 2026-06-01T09:57:24+00:00

We have a program ( A.exe ) with GUI and a toolbar who does

  • 0

We have a program (A.exe) with GUI and a toolbar who does NLP stuff with some text.
In that toolbar we have function A which transform the text by adding some xml tags. Someone here (the boss) would like that I create a Web Service calling function A. It told me about Dynamic Data Exchange (he used it few years ago), I saw something like SendMessage.

The Web Service will be used by someone over the Internet : sending a text and getting the result as xml. The GUI program could not be started when someone calls the WS because it is too slow, so someone sugggests to launch this A.exe once for all and the WS will ask this A.exe by sending a DDE call. I don’t know how A.exe will react in case of concurrent calls.

The Web Service will:

  1. save the text file in a directory
  2. call the A.exe
  3. the A.exe will compute the text file and create the xml file
  4. the WS will loop until the xml file exist
  5. the WS will get the xml and send it as stream to the original caller

I would like to note that:

  1. DDE is old and seems to need a DDE server capable program.
  2. SendMessage is a little bit obscur as I am a Java developer.
  3. I did not try named or anonymous pipes to make that call as suggested.

Thank you.

PS: It is an heresy to build a WS calling a server-side program with UI, isn’t?

  • 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-06-01T09:57:25+00:00Added an answer on June 1, 2026 at 9:57 am

    The answer to this question really depends on what you are trying to accomplish. Does your function alter data coming from an external data source such as a database or are you invoking a function within an application?

    I would start with the following questions.

    1) What does the function of the button do? Can it’s functionality be moved into a service and shared between multiple applications?

    2) Can you put the functionality inside a DLL and share between two applications?

    3) Do the two apps really need to communicate with one another?

    If the two processes MUST communicate with one another and you merely want application A to behave in response to a message from application B, consider using named pipes for TCP/IP communication. This is simple enough in .NET and provides quick communication between processes.

    UPDATE: Here is a link with info on using named pipes: http://msdn.microsoft.com/en-us/library/bb546085.aspx.

    UPDATE 2: This is an update after you updated your question. Do you have access to A.exe’s source code? If you do, you have two options: 1) move that logic into your service or 2) modify A.exe to accept command-line parameters so that your service can invoke the process and get back results. If you don’t have source code and you can’t invoke A.exe from the command-line, then there isn’t much you can do other than write the process yourself in a form your web service can call.

    P.S. You don’t have to worry about concurrent calls because each server request will execute a separate process.

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

Sidebar

Related Questions

I have a GUI program that, in this example, downloads an exe using wget
I have a python script that ends with running a program (iexpress.exe) in a
I have one application that prints messages from Test.exe in console .My java program
I have written a program a.exe which launches another program I wrote, b.exe ,
I have a python program with a wxpython GUI and some command line parameters.
I have a Java program which needs to be a startup program that runs
I have a very simple program that consists of a .NET 2.0 exe (Program.exe)
I have a program that has Classes GUI Upload and a buffer between the
I have an application, let's call it myapp.exe, which is dual-mode console/GUI, built as
I have a .exe program (console app) written in .net. I need to execute

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.