开发者

Call public function in another application

If I have a Windows Application WinApp that has a public function pubFun, how can I call it fro开发者_如何学Cm a different windows application --> WinApp.pubFun() ?

Thanks in advance


This isn't trivial, there's lots of ways to do it.

I suggest using WCF, its a great framework that abstracts the communication logic and makes your inter-application communication work just like calling methods on an object.


Is there anything stopping you from extracting the logic out into a separate assembly which both applications can share?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜