🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Service spawns Process - EnumWindows problem

#1497
From: Paul
Date: Sat, 21 Jul 2007 10:38
22 lines
1409 bytes
Bob Gonder wrote:

> Paul wrote:
> 
> Please don't start messages with "-" as it strips the rest of the
> message from replys.

Point taken.

In this case, the problem was solved by setting the lpDesktop parameter
to "WinSta0\\Default" in both the Service and Guardian when calling
CreateProcess()
...snip

> (BTW, who guards the guardian?)

No one, If there was a guardians guardian, who would guard the
guardians guardian ?

cheers
Paul
-- 
Technical Details
Message-ID: <46a1e208@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46a0a522$1@newsgroups.borland.com> <v2l1a31tv57k9blue1l65b0a64cmq4te7e@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b7dc9abb756c9528
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Paul" <camrad@internode.on.net>
Subject: Re: Service spawns Process - EnumWindows problem
Newsgroups: borland.public.cppbuilder.nativeapi
References: <46a0a522$1@newsgroups.borland.com> <v2l1a31tv57k9blue1l65b0a64cmq4te7e@4ax.com>
User-Agent: XanaNews/1.18.1.6
X-Antivirus: avast! (VPS 000758-1, 20/07/2007), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 59.167.72.184
Message-ID: <46a1e208@newsgroups.borland.com>
Date: 21 Jul 2007 03:38:00 -0700
X-Trace: newsgroups.borland.com 1185014280 59.167.72.184 (21 Jul 2007 03:38:00 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 1262