comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » how can i get parent process pid on windows using IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: how can i get parent process pid on windows using IDL [message #90586 is a reply to message #90585] Thu, 12 March 2015 07:11 Go to previous messageGo to previous message
Jim  Pendleton is currently offline  Jim Pendleton
Messages: 165
Registered: November 2011
Senior Member
On Thursday, March 12, 2015 at 7:38:48 AM UTC-6, Dae-Kyu Shin wrote:
> hi
>
> how can i get parent process pid on windows?
>
> for example
>
> in windows cmd
>
> wmic process get processid, parentprocessi
>
> in IDL
>
> spawn, 'wmic process get processid, parentprocessid', result
>
> but this is not working
>
> is there another way??
>
> thanks

Try this:
PRINT, CALL_EXTERNAL('kernel32.dll', 'GetCurrentProcessId')

Jim P
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: cgsnapshot-->dialog_pickfile:Bad initial filename
Next Topic: supervised classification

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:44:20 PDT 2025

Total time taken to generate the page: 0.00432 seconds