Sending events to main window of another process
-
Hello everyone, Does anybody know of a way to send events to another process from the first process in managed C++. I found an article for the same in C++ but couldn't find one for managed C++. Thanks, Parth
-
Hello everyone, Does anybody know of a way to send events to another process from the first process in managed C++. I found an article for the same in C++ but couldn't find one for managed C++. Thanks, Parth
-
Member 3273983 wrote:
I found an article for the same in C++
Provide a link please. Also explain why that article does not work for you.
Sending a message to the Main Frame Window of Another Application, given only the Process Handle[^] It is for C++ not managed C++. I want to do it in managed C++ which uses the form class instead of CWin* classes.
-
Member 3273983 wrote:
I found an article for the same in C++
Provide a link please. Also explain why that article does not work for you.
Hook up! ><O> ><O> ><O>
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Hook up! ><O> ><O> ><O>
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Sending a message to the Main Frame Window of Another Application, given only the Process Handle[^] It is for C++ not managed C++. I want to do it in managed C++ which uses the form class instead of CWin* classes.
Member 3273983 wrote:
I want to do it in managed C++ which uses the form class instead of CWin* classes.
Yes. C++/CLI allows you to use managed and native code in the same project. So you can in fact use the approach from that article in your managed code. If you don't know how to create a C++/CLI project that supports managed and native code then you need to go read the Introductory CLI articles here on CodeProject.
-
Member 3273983 wrote:
I want to do it in managed C++ which uses the form class instead of CWin* classes.
Yes. C++/CLI allows you to use managed and native code in the same project. So you can in fact use the approach from that article in your managed code. If you don't know how to create a C++/CLI project that supports managed and native code then you need to go read the Introductory CLI articles here on CodeProject.
Thanks for the info. I will look up the tutorials. -Parth
-
Thanks for the info. I will look up the tutorials. -Parth
I had one more question, is the same thing possible to get done with Java windows as target?