I was seeking information about the thread, and this post resolved it.
Thank you very much.
[Q & A] Processes / Threads / Handles / Modules
-
- Posts: 147
- Joined: 05 Nov 2016, 22:42
-
- Posts: 147
- Joined: 05 Nov 2016, 22:42
Re: [Functions] Processes / Threads / Modules
thank you good script.
Is there a way to know the filename of the thread?
Is there a way to know the filename of the thread?
Re: [Functions] Processes / Threads / Modules
GetProcessHandles does not work Handle return is strange.
Re: [Functions] Processes / Threads / Modules
Why? Process handles are no unique numbers like processes are.
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
Re: [Functions] Processes / Threads / Modules
Is it possible to know the pid that has a certain process handle?jNizM wrote:Why? Process handles are no unique numbers like processes are.
Re: [Q & A] Processes / Threads / Modules
I will look into it
edit:
Changed GetProcessHandles
-> new returns (Handle-Type and FilePath if Type is File)
Will look for more informations
edit:
Changed GetProcessHandles
-> new returns (Handle-Type and FilePath if Type is File)
Will look for more informations
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
-
- Posts: 147
- Joined: 05 Nov 2016, 22:42
Re: [Q & A] Processes / Threads / Modules
Thank you for sharing the scriptjNizM wrote:I will look into it
edit:
Changed GetProcessHandles
-> new returns (Handle-Type and FilePath if Type is File)
Will look for more informations
There seems to be an error.
The list of paths that own handles for the same process is different (process explorer / GetProcessHandles).
Also, when I perform "open process" with the cheat engine, I can not confirm it with "GetProcessHandles"
and, it does not check the Windows processes that own handles of all processes that run automatically, such as csrss and svchost.
Re: [Q & A] Processes / Threads / Handles / Modules
Changed GetProcessHandles
-> added handle name
atm it returns all handels (+ type / name / filepath) from a pid
The Process Explorer Search returns all processes who used your searched process (handle)
btw you got some unicode problems in your output
-> added handle name
Code: Select all
for i, v in GetProcessHandles(pid)
MsgBox % "Handle:`t" v.Handle "`n"
. "Type:`t" v.Type "`n"
. "Name:`t" v.Name "`n"
. "Path:`t" v.FilePath
The Process Explorer Search returns all processes who used your searched process (handle)
btw you got some unicode problems in your output
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
-
- Posts: 147
- Joined: 05 Nov 2016, 22:42
Re: [Q & A] Processes / Threads / Handles / Modules
jNizM wrote:Changed GetProcessHandles
-> added handle nameatm it returns all handels (+ type / name / filepath) from a pidCode: Select all
for i, v in GetProcessHandles(pid) MsgBox % "Handle:`t" v.Handle "`n" . "Type:`t" v.Type "`n" . "Name:`t" v.Name "`n" . "Path:`t" v.FilePath
The Process Explorer Search returns all processes who used your searched process (handle)
btw you got some unicode problems in your output
For example, if you run "openprocess" on 1.exe with the cheat engine, you will not be able to check it with "GetProcessHandles".
Is it working properly?
Re: [Q & A] Processes / Threads / Handles / Modules
I will see what I can do but I will never get all handles like the ProcessExplorer does
In 64 bit versions of Windows, starting from Vista, Microsoft has enforced that any program that is supposed to be loaded into the kernel space should be digitally signed by Microsoft.
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
-
- Posts: 147
- Joined: 05 Nov 2016, 22:42
Re: [Q & A] Processes / Threads / Handles / Modules
Thank you very much.jNizM wrote:I will see what I can do but I will never get all handles like the ProcessExplorer does
In 64 bit versions of Windows, starting from Vista, Microsoft has enforced that any program that is supposed to be loaded into the kernel space should be digitally signed by Microsoft.
-
- Posts: 3
- Joined: 06 Jul 2019, 04:58
Re: [Q & A] Processes / Threads / Handles / Modules
GetProcessHandles – gets a list of handles in a process
im using this script that u made , it works fine for other application, but why it doesnt work with Growtopia , im confused is it because the script ? or the game it self ?
im using this script that u made , it works fine for other application, but why it doesnt work with Growtopia , im confused is it because the script ? or the game it self ?
Who is online
Users browsing this forum: mikeyww and 355 guests