🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ProcessID mismatch after CreateProcess() call.

#14443
From: Remy Lebeau (TeamB)
Date: Thu, 14 Aug 2003 17:37
23 lines
1947 bytes
"Mark D" <m.davenCROPHEREport@ntlworld.com> wrote in message
news:3f3b5fc8$1@newsgroups.borland.com...

> This callback function is correctly being passed the original
> ProcessID extracted from my ProcInfo instance.  But the
> RetProcID never matches.

Are you sure the application you spawned didn't spawn another process of its
own?

> One final thing, a call to GetClassName for my valid HWND
> instance tells me the vtplus32.exe app is not of class
> TApplication but its own custom VTPlus..something class.

Is vtplus32.exe an application you wrote yourself?  Is it even a VCL
application?  If so, is the HWND you have for the hidden TApplication
window, or for a visual window?  You're never going to get a class name of
"TApplication" for any of the visual windows that the VCL creates, because
the TApplication window is never visual.


Gambit
Technical Details
Message-ID: <3f3bc743$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!pln-w!extra.newsguy.com!lotsanews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f3b5fc8$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,1f2bd942df162911
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-14 10:40:29 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f3b5fc8$1@newsgroups.borland.com>
Subject: Re: ProcessID mismatch after CreateProcess() call.
Date: Thu, 14 Aug 2003 10:37:21 -0700
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3f3bc743$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1060882243 207.175.226.26 (14 Aug 2003 10:30:43 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!pln-w!extra.newsguy.com!lotsanews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail