c# - How to call a function of a running winform application from console application -
i have windows application in running status. have console application needs interact winapp. can running process details , set focus winapp console not able call function of winapp.
can please me out here?
please let me know if not clear.
several possibilities:
- you may send mouse events , key events windows application (very unreliable, right window open? , on top?, , on)
- you need form of inter-process communication (ipc). (some effort)
some possibilites ipc:
- shared memory
- named pipes
- sockets
Comments
Post a Comment