using systeminformer as a library / command line tool #2575
davehorner
started this conversation in
General Discussion
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/davehorner/systeminformer
hello. I am looking to search the environment variables of any process. I see systeminformer has this feature and I tried to write a rust bindgen ffi interface and then attempted a separate c console app, now I'm on to modifying systeminformer itself. the bindgen led to a panic in bindgen on systeminformer code. the c console app I couldn't get the kernel driver installed...and it seems the kernel driver isn't even needed as systeminformer seems to be running without it...i'm not sure. access violations. inside systeminformer; it works great.
anyway, I see there's an extension plugin system. I do not see an extension of the sort I want to write though. I would like to be able to execute with parameters.
on my fork I have it spawning or finding a running notepad instance and searching for variables as specified. I am not sure how best to go about interfacing with this, but for my uses, its fine that I quickly show gui and exit 0 or 1 indicating if the variable is found.
questions:
having an ffi bindgen I could distribute binaries via cargo. doing anything else; seems hard to get to users.
Beta Was this translation helpful? Give feedback.
All reactions