🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #95

WinExecAndWaitV2, ok but a question:

#95
From: Pierre Marie
Date: Fri, 23 Jan 2004 09:11
25 lines
1511 bytes
Hello,
I have a pb, i use a WinExecAndWait32V2 Function to start an other app from
delphi Prg.

The pb is that the app is a very big one, and is quite slow to start. The
End user start it by pressing a btn with his finger on the screen.

As the app is quite long to start, if he touch the screen a second  time,
then the window is focused and the started app never comes on the
frontground.

I am quite new with api, so if there is a solution, thanks for explaining
it.

I have tried to use the ForceForeGround fn, but the createProcess does not
retreive the window handle, so i do not know the wnd handle.

Thanks

-- 
Courtoisement

Pierre-Marie PETIT
pm@nst.fr
03 20 06 63 94
Technical Details
Message-ID: <4010e531@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,6b19d632dfc307ea,start
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2004-01-23 01:39:57 PST
From: "Pierre Marie" <pm@nst.fr>
Newsgroups: borland.public.delphi.nativeapi
Subject: WinExecAndWaitV2, ok but a question:
Date: Fri, 23 Jan 2004 10:11:25 +0100
Lines: 27
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.1165
NNTP-Posting-Host: 193.251.72.70
Message-ID: <4010e531@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074849073 193.251.72.70 (23 Jan 2004 01:11:13 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail