-
Running processes on remote machine
Hi
I would like to know if it's possible to use an API function to list all the
processes running on a remote computer ?
I just found the API function CreateToolhelp32Snapshot that allows to list
the processes running on a local computer !
Thanks
Gregory
-
Re: Running processes on remote machine
Gregory -
Well, You know how to get the processes on the local computer, So you could
create an ActiveX exe that gets the local processes and use DCOM to run that
component remotely, but that requires you to install that component on each
PC that you want to moniter.
Or, you can use the WMI Windows Management Instrumentation. You can download
from microsoft. It comes with samples, and I'm not sure but I think that
is one of the samples... the URL is...
http://msdn.microsoft.com/downloads/...mi/default.asp
Object oriented interface so you won't need to make API calls.
Good luck
Ian Drake
-
Re: Running processes on remote machine
Thanks,
It's what I did but as you say it requires to install this activex server
and configure the DCOM access !!. I also tested WMI. On a local machine
it's fine, but for a remote computer I also need to configure DCOM and it's
not so easy (not the same than for the ActiveX server) !!
Greg
"ian drake" <ian.drake1@home.com> wrote in message
news:3a30f7ee$1@news.devx.com...
>
> Gregory -
>
> Well, You know how to get the processes on the local computer, So you
could
> create an ActiveX exe that gets the local processes and use DCOM to run
that
> component remotely, but that requires you to install that component on
each
> PC that you want to moniter.
>
> Or, you can use the WMI Windows Management Instrumentation. You can
download
> from microsoft. It comes with samples, and I'm not sure but I think that
> is one of the samples... the URL is...
> http://msdn.microsoft.com/downloads/...mi/default.asp
> Object oriented interface so you won't need to make API calls.
>
> Good luck
> Ian Drake
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks