Recent

Author Topic: How to obtain a process handle by PID  (Read 1524 times)

TheK0tYaRa

  • Newbie
  • Posts: 1
How to obtain a process handle by PID
« on: January 28, 2022, 02:46:23 am »
I've seen OpenProcess be used everywhere but it's obliviously a winapi thing, so i have no idea what to use instead of it. The use case is process memory manipulation and general debugging. Using Lazarus' debugger or gdb is not an option because the application i am porting to unix is their universal alternative.
I suppose that if there is such, an universal FPC function will match the need as good as an Unix-only one.
« Last Edit: January 28, 2022, 03:12:24 am by TheK0tYaRa »

 

TinyPortal © 2005-2018