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 #90597 is a reply to message #90586] Thu, 12 March 2015 19:45 Go to previous messageGo to previous message
Dae-Kyu Shin is currently offline  Dae-Kyu Shin
Messages: 25
Registered: February 2015
Junior Member
2015년 3월 12일 목요일 오후 11시 11분 34초 UTC+9, Jim P 님의 말:
> 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

thanks
i can get pid using kernel32.dll but this is not ppid(parent process id).
is thete another function for ppid in kernel32.dll?
[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:43:10 PDT 2025

Total time taken to generate the page: 0.19853 seconds