🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Running app on another desktop

#7226
From: Remy Lebeau (TeamB)
Date: Mon, 07 Mar 2005 06:24
13 lines
1312 bytes
"Daniel" <d.jimenez@comvision.net.au> wrote in message
news:opsm8p981moyenhq@development-ws2.comvision.intranet...

> Here is the code:

At no point in that code are you doing any error checking at all.  Nor do
you restore the previous desktop and workstation when your spawned process
is finished.  Also, use WaitForSingleObject() instead of a sleeping loop to
wait for the spawned application to terminate.


Gambit
Technical Details
Message-ID: <422bf3a4$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <opsm8p981moyenhq@development-ws2.comvision.intranet>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a1b849e29d6cf9bc
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <opsm8p981moyenhq@development-ws2.comvision.intranet>
Subject: Re: Running app on another desktop
Date: Sun, 6 Mar 2005 22:24:05 -0800
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <422bf3a4$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1110176676 68.69.17.41 (6 Mar 2005 22:24:36 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail