views:

178

answers:

2

If I have a Windows Application WinApp that has a public function pubFun, how can I call it from a different windows application --> WinApp.pubFun() ?

Thanks in advance

+1  A: 

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

Teto
+1  A: 

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.

TJB