Ask a Question related to PERL Beginners, Design and Development.
-
Francis #1
List running applications on Win32
Dear All
Can someone tell me how to get a list of running applications on
Win32?
I am essentially looking to get the same list as appears in the
Applications tab of the Windows Task Manager. I can easily get the
equivalent of the Processes tab in Windows Task Manager (using
Win32::Setupsup or Win32::IProc) but I can't seem to find a way to
retrieve only the running applications.
Thanks
Flibble
Francis Guest
-
Running Java applications with CF applications
Is anyone out there running both Java and CF apps on their CFMX 7 J2EE Enterprise Server? I was going to migrate the Java apps to CF7 to avoid a... -
Running Windows Applications Via World Wide Web
Hello, I apologize for my lack of knowledge in this area, or if this is the incorrect group to make this post in. I am designing a website for... -
web applications versus. web portal applications
I came across a new term "web portal applications." Anyone can tell me what's the differences between web portal applications versus traditional... -
Running 8 bit applications in 24 depth screen?
Is it possible to run a 8 bit color application in X with depth set to 24 bit? Thanks in advance, --- Paladin -- -
windowmaker not showing icons for running applications
Hi When running most applications in wmaker, the application icons are not displayed - instead the default icon is being displayed. e.g mozilla,... -
Francis #2
Re: List running applications on Win32
co.uk (Francis Libble) wrote in message news:<google.com>...
Nevermind, after much gnashing of teeth:
use Win32::Setupsup;
Win32::Setupsup::EnumWindows(\@windowlist) or
die "process list error: ".Win32::Setupsup::GetLastError( )."\n";
foreach $whandle (@windowlist)
{
if (Win32::Setupsup::GetWindowProperties($whandle,[visible,text,pid],\%winprop))
{
if ($winprop{visible} == 1)
{
my $wintitle = $winprop{text};
unless($wintitle eq "" || $wintitle eq "Program Manager")
{
print "$wintitle:$winprop{pid}\n";
}
}
}
else
{
warn "Can't get text for $whandle" .
Win32::Setupsup::GetLastError( )."\n";
}
}
Francis Guest



Reply With Quote

