🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #9000

Re: Process ID

#9000
From: Pete Fraser
Date: Mon, 16 Aug 2004 10:23
10 lines
1202 bytes
Use ShellExecuteEx and look in the info structure for the information you
require
HTH Pete

<zoom> wrote in message news:41208174$1@newsgroups.borland.com...
> How to get the process ID of the program started by the following line of
> code
>
> ShellExecute(Handle, "open", "c:\\Windows\\notepad.exe", NULL, NULL,
> SW_SHOWNORMAL);
Technical Details
Message-ID: <41208b06@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41208174$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,55da334e6f257007
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Pete Fraser" <pete._no_spam_fraser@frasersoft.nospam.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41208174$1@newsgroups.borland.com>
Subject: Re: Process ID 
Date: Mon, 16 Aug 2004 11:23:01 +0100
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 195.12.18.1
Message-ID: <41208b06@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1092651782 195.12.18.1 (16 Aug 2004 03:23:02 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail