Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. Interprocess communication

Interprocess communication

Scheduled Pinned Locked Moved Design and Architecture
csharpdatabasecomtutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    carlop
    wrote on last edited by
    #1

    Current Scenario: I have a long running application that gets a job list from sql, creates a child process for each request and exchange status data with those child process with a full-duplex communication. All processes runs on the same machine as the host application, currently all processes are Win32 and I use WM_COPYDATA. Future: It is likely that in the next future the Win32 application will be rewritten to .NET, child processes will remain untouched, new child processes will be written in any language/platform (.NET, Win32) depending on 3rd party specifications/libraries. Question: I would like to hear some rant on how to implement interprocess communication between .NET and Win32 application. TIA

    ---( carlop )--- web @ www.carlop.com blog @ carlop-dev.blogspot.com

    L 1 Reply Last reply
    0
    • C carlop

      Current Scenario: I have a long running application that gets a job list from sql, creates a child process for each request and exchange status data with those child process with a full-duplex communication. All processes runs on the same machine as the host application, currently all processes are Win32 and I use WM_COPYDATA. Future: It is likely that in the next future the Win32 application will be rewritten to .NET, child processes will remain untouched, new child processes will be written in any language/platform (.NET, Win32) depending on 3rd party specifications/libraries. Question: I would like to hear some rant on how to implement interprocess communication between .NET and Win32 application. TIA

      ---( carlop )--- web @ www.carlop.com blog @ carlop-dev.blogspot.com

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You could convert the WM_COPYDATA-solution to a C#-counterpart. Windows-messaging is fast, and you'd retain compatibility with the old version. Alternatively you could use a HttpServer, and use WebRequests; easier to debug than Windows-messages, and you can send/receive messages from beyond the local desktop.

      I are troll :)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups