🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: running programs on a different machine (URGENT)

#2461
From: Maurice Anderson
Date: Mon, 19 Feb 2007 20:40
11 lines
1456 bytes
> I would like to open a process on another PC in my LAN. I have all the 
> credentials for running it, because the same user exists on both machines 
> (running WinXP).

Look into WMI, in particular Win32_process.  See:

http://groups.google.com/group/microsoft.public.win32.programmer.wmi/browse_thread/thread/37a329a71f87d2df/031c98ce9ace5c5d?lnk=st&q=remote+execution+wmi+Win32_Process+CoInitializeEx&rnum=4#031c98ce9ace5c5d

For an example.

-M- 
Technical Details
Message-ID: <45daa790$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <45d995d8@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,47cdb868baf5dcda
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Maurice Anderson" <mauriceanderson@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <45d995d8@newsgroups.borland.com>
Subject: Re: running programs on a different machine (URGENT)
Date: Mon, 19 Feb 2007 12:40:51 -0800
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
NNTP-Posting-Host: 64.30.203.223
Message-ID: <45daa790$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1171957648 64.30.203.223 (19 Feb 2007 23:47:28 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail