How to find the corresponding handle of window according to the program name, in Windows?

Windows下根据程序名称找到窗口句柄并操作窗口 通过rust 实现!

PLZ !dose anybody could help me?

There is nothing built-in in Rust for it. You have to use methods from Windows' API, the same way you would do that in C.

There is a crate that makes it easier to access Windows APIs:

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.