Article View: comp.os.ms-windows.programmer.misc
Article #2915Executing application in "background"
From: Daniel
Date: Tue, 03 Jun 2003 12:49
Date: Tue, 03 Jun 2003 12:49
22 lines
2375 bytes
2375 bytes
I already posted my question here, but got no answer. I'll try to ask it in a different way: I want to execute an application in "Background" (invisible) in Win2k pro. The application invokes other applications and I want them to be invisible also, so I can't just hide my application's main window. I can do it in Win2k server, under a Terminal Server in a session, and it works ok. But I want a similar behavior in Win2k pro without Terminal Server. I'm trying to achieve this by running it in another Window Station. It runs, but when I try to read screen contents in that Window Station, I receive BLACK bitmaps. And IsWindowVisible on any window returns false. Setting WS_VISIBLE doesn't help. It looks like windows knows that this Window Station is not interactive, so it is invisible and just disables any drawings. But I need to receive bitmaps from the screen... Is it possible to execute it like in Terminal Session (where I receive all the bitmaps and IsWindowVisible returns true), so it run normally but in the "Background". Thanks, -Daniel.
Technical Details
Message-ID:
<3edc8b25$1@news.012.net.il>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!news-out.visi.com!petbe.visi.com!uunet!ash.uu.net!seanews2.seabone.net!news.012.net.ilShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdaf4,4b0b7519cdf43f10,start X-Google-Attributes: gidfdaf4,public X-Google-Thread: 112e35,4b0b7519cdf43f10,start X-Google-Attributes: gid112e35,public X-Google-Thread: 113dfb,4b0b7519cdf43f10,start X-Google-Attributes: gid113dfb,public X-Google-Thread: 105df1,4b0b7519cdf43f10,start X-Google-Attributes: gid105df1,public X-Google-ArrivalTime: 2003-06-03 04:48:58 PST From: "Daniel" <ldima24@hotmail.com> Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.win32,dk.edb.system.ms-windows.terminal-services,microsoft.public.windowsnt.terminalserver.misc Subject: Executing application in "background" Date: Tue, 3 Jun 2003 14:49:14 +0200 Lines: 24 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.1106 NNTP-Posting-Host: 80.178.114.228.forward.012.net.il Message-ID: <3edc8b25$1@news.012.net.il> X-Trace: news.012.net.il 1054640933 80.178.114.228.forward.012.net.il (3 Jun 2003 14:48:53 +0300) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!news-out.visi.com!petbe.visi.com!uunet!ash.uu.net!seanews2.seabone.net!news.012.net.il