Detecting Parent Process?

Just starting out? Need help? Post your questions and find answers here.
User avatar
Thunder93
Addict
Addict
Posts: 1773
Joined: Tue Mar 21, 2006 12:31 am
Location: Canada

Detecting Parent Process?

Post by Thunder93 »

Is there a quick or good way of determining an possible parent process used to launch the PB application?
User avatar
Thunder93
Addict
Addict
Posts: 1773
Joined: Tue Mar 21, 2006 12:31 am
Location: Canada

Post by Thunder93 »

Or do I have to enumerate through the list of processes to get this information?
Mistrel
Addict
Addict
Posts: 3414
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

I believe it can be done using a variation of this code:

http://purebasic.fr/english/viewtopic.php?t=30156
User avatar
Thunder93
Addict
Addict
Posts: 1773
Joined: Tue Mar 21, 2006 12:31 am
Location: Canada

Post by Thunder93 »

Pretty much what I thought, thanks Mistrel.
Post Reply