sancarn / stdVBA

VBA Standard Library - A Collection of libraries to form a common standard layer for modern VBA applications.
MIT License
293 stars 58 forks source link

`stdProcess.CreateFromQuery` should use `EnumProcesses` instead? #76

Open sancarn opened 1 year ago

sancarn commented 1 year ago

Currently uses https://learn.microsoft.com/en-us/windows/win32/api/tlhelp32/nf-tlhelp32-createtoolhelp32snapshot but this seems overcomplicated when there is also https://learn.microsoft.com/en-us/windows/win32/api/psapi/nf-psapi-enumprocesses which returns an array of pids? Not sure...