Article View: borland.public.cppbuilder.nativeapi
Article #12713Running an external application like a modal form
From: Damian Vilchis
Date: Fri, 21 Nov 2003 23:45
Date: Fri, 21 Nov 2003 23:45
9 lines
1454 bytes
1454 bytes
I want to run an external application like a modal form. I'm using the ShellExecuteEx and the WaitForSingleObject windows api functions, but in this way the main window (GUI) is not repainted. Waht need I do to make the main window capable of paint it self ? I must use CreateProcess and GetExitCodeprocess instead ? or is possible use ShellExecuteEx to accomplish this ? Thanks.
Technical Details
Message-ID:
<3fbea2f3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer2.atl.newshosting.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,2cd4433069f943cd,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-21 16:01:29 PST Date: Fri, 21 Nov 2003 17:45:28 -0600 From: Damian Vilchis <damian@ininin.com.mx> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031030 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Running an external application like a modal form Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 148.235.169.11 Message-ID: <3fbea2f3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1069458163 148.235.169.11 (21 Nov 2003 15:42:43 -0700) Lines: 9 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer2.atl.newshosting.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail