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:

  1. you may send mouse events , key events windows application (very unreliable, right window open? , on top?, , on)
  2. you need form of inter-process communication (ipc). (some effort)

some possibilites ipc:

  1. shared memory
  2. named pipes
  3. sockets

Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -