🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: From Process to Window Handle

#4174
From: KL Chin
Date: Mon, 13 Mar 2006 09:22
34 lines
1723 bytes
Hi Bob Gonder,

Thx for your hint, my actual app. do included the some masks.

asei.fMask = SEE_MASK_NO_CONSOLE | SEE_MASK_NOCLOSEPROCESS | 
SEE_MASK_FLAG_NO_UI;

My question, do I used the right function?

I used EnumProcesses - not hope also, I do not see any hProcess (value) in 
the replied list.

Regards,
KL Chin



"Bob Gonder" <notbg@notmindspring.invalid> wrote in message 
news:vmaa129qds4u796doibfh1d1b301qej33j@4ax.com...
> KL Chin wrote:
>
>>   brst = ShellExecute Ex( &asei );
>>
>>  asei.hProcess   <-- from this hProcess
>
> Read the description for that field in the help.
> <edited>
> This member is always NULL if fMask is *not* set to
> SEE_MASK_NOCLOSEPROCESS.
> </edited>
>
> You didn't set the fMask at all.
>
> 
Technical Details
Message-ID: <441539ce@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4414f5b4$1@newsgroups.borland.com> <vmaa129qds4u796doibfh1d1b301qej33j@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e1b5a692dc7fc69d
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "KL Chin" <klchin@1asia.com.my>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4414f5b4$1@newsgroups.borland.com> <vmaa129qds4u796doibfh1d1b301qej33j@4ax.com>
Subject: Re: From Process  to Window Handle
Date: Mon, 13 Mar 2006 17:22:13 +0800
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
NNTP-Posting-Host: 60.49.242.118
Message-ID: <441539ce@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1142241742 60.49.242.118 (13 Mar 2006 01:22:22 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail