🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: CreateProcess() in Automation server freezes caller

#1384
From: Wiebe Vos
Date: Tue, 11 Sep 2007 15:24
12 lines
1481 bytes
Thanks Ed,

> This is only a guess but you might try creating a thread in which you do 
> the CreateProcess.  I expect the result to be Windows apportioning time 
> slices between threads and therefore allowing the main thread mouse and 
> keyboard messages to flow.

I did CreateProcess() in a thread. However this does not solve the problem.
(Also not if using MsgWaitForMultipleObjects() instead of 
WaitForSingleObject())

Wiebe
Technical Details
Message-ID: <46e6b326$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed0.kamp.net!newsfeed.kamp.net!feeder.news-service.com!newsfeed.freenet.de!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <46e69558$1@newsgroups.borland.com> <46e69728$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ab74d8f845bd4978
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Wiebe Vos" <wiebe@foxware.nl>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <46e69558$1@newsgroups.borland.com> <46e69728$1@newsgroups.borland.com>
Subject: Re: CreateProcess() in Automation server freezes caller
Date: Tue, 11 Sep 2007 17:24:17 +0200
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 62.131.171.202
Message-ID: <46e6b326$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1189524262 62.131.171.202 (11 Sep 2007 08:24:22 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed0.kamp.net!newsfeed.kamp.net!feeder.news-service.com!newsfeed.freenet.de!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail