Page 1 of 1

Detecting Parent Process?

Posted: Sun Aug 23, 2009 8:49 pm
by Thunder93
Is there a quick or good way of determining an possible parent process used to launch the PB application?

Posted: Sun Aug 23, 2009 8:51 pm
by Thunder93
Or do I have to enumerate through the list of processes to get this information?

Posted: Sun Aug 23, 2009 9:22 pm
by Mistrel
I believe it can be done using a variation of this code:

http://purebasic.fr/english/viewtopic.php?t=30156

Posted: Sun Aug 23, 2009 10:01 pm
by Thunder93
Pretty much what I thought, thanks Mistrel.