miniben-90 / x-win

This package allows you to retrieve precise information about active and open windows on Windows, MacOS, and Linux. You can obtain the position, size, title, and other memory of windows.
MIT License
27 stars 4 forks source link

get_open_windows not working on windows 32 #35

Open mightymouse2045 opened 1 week ago

mightymouse2045 commented 1 week ago

I have just run a simple test with your example of get open windows. On my machine it works, but running it on windows 32 it's not working.

No error it is just empty.

Any ideas - what can I do to debug this further?

miniben-90 commented 1 week ago

Hi, Can you be more specific:

mightymouse2045 commented 1 week ago

Hi - it's in Rust. It's running on Windows Embedded 2010 SP1. Output from systeminfo:

OS Name: Microsoft Windows Embedded Standard OS Version: 6.1.7601 Service Pack 1 Build 7601 OS Manufacturer: Microsoft Corporation OS Configuration: Standalone Workstation Hotfix(s): 3 Hotfix(s) Installed. [01]: KB958488

The code is literally just the example package.

cargo.toml: `[package] name = "test" version = "1.0.0" edition = "2018"

[dependencies] x-win = "*"`

main.rs using code from examples

miniben-90 commented 1 week ago

Thanks for your information. As specified in the Readme file, this dependency works only with Windows 10 and Windows 11.