SendMessage to .NET console application

后端 未结 2 1082
隐瞒了意图╮
隐瞒了意图╮ 2020-12-22 00:22

I have been experimenting with sending messages from two .NET Windows Forms applications using WM_COPYDATA, and it works great.

I would like to know if

2条回答
  •  星月不相逢
    2020-12-22 00:48

    @tommieb75: XDMessaging is actually my library :) WM_COPYDATA doesn't work for console applications as they don't have a message pump. The library does however include a IOStream based IPC implementation that works for console apps and services. http://thecodeking.github.com/XDMessaging.Net/

提交回复
热议问题