C# Windows app uses WM_COPYDATA for IPC (CSSendWM_COPYDATA)

CSReceiveWM_COPYDATA and CSSendWM_COPYDATA demonstrate inter-process communication via the WM_COPYDATA windows message in VC#. CSSendWM_COPYDATA sends the data, and CSReceiveWM_COPYDATA receives the data.

C# (66.2 KB)
 
 
 
 
 
(0)
8,925 times
Add to favorites
5/5/2011
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Microsoft.CSharp.targets?
    1 Posts | Last post March 05, 2013
    • What in the heck?
      
      Cannot even LOAD the projects much less compile them.
      
      Sigh... Looking elsewhere to find out HOW to do the WM_COPYDATA in C# in Visual Studio 2005.
      
      Sadly the projects in this are useless to me with the "Microsoft.CSharp.targets" requirement!
  • Parameters Sent In Message
    1 Posts | Last post December 12, 2012
    • Is it possible to send an "Action<>"?
      I tried adding it to the Struct but encountered several problems;
      1. Sometimes I would get an "ExecutionEngineException" exception when using PtrToStructure.
      2. When the code does go through - the Action is not recognized (I get a {Method = {Void Invoke()}})