Spy++, inspect does not seem to be able to load child windows for a particular program.

Asked 1 years ago, Updated 1 years ago, 265 views

I wanted to control the Windows program, so I looked at the program information using spy++ and infect. When the child window comes out, the command will be entered to control it, but nothing will come out Why is that?

I don't know how to attach a picture, so I'm sharing a Google drive.

The top is the program you want to control and the bottom is the impact screen.

https://docs.google.com/spreadsheets/d/1oj6dNo9xjBYYJFtqtFpBA3KqZfkory3O065ArA8KonM/edit?usp=sharing

windows python

2023-02-18 17:06

1 Answers

Typically, spy++ and inspect are used to determine the GUI structure and process information of the target program. However, you may not recognize the child window of a particular program. In this case, there are several possible reasons:

If the child window was created by another thread.

Windows uses message queues for thread-to-thread communication. If a particular child window was created in a different thread, spy++ and inspect might not recognize it because the handle of that child window is only valid in another thread.

If the child window is not recognized because of the system resources being used.

If a particular child window has a large number of Graphic Device Interface (GDI) resources in use, Windows can temporarily release the handle of that child window. In this case, the handle of the child window may be invalidated, so spy++ and inspect may not recognize it.

If the target program has increased security

Some security programs restrict access to memory from other processes, so if these programs are running, spy++ and inspect may not recognize them. In this case, you may need to use other tools to determine the GUI structure and process information for the target program. For example, you can use Process Explorer, a built-in tool in Windows, to view the GUI structure and thread information of the target process.


2023-02-19 22:19

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.