🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: running programs on a different machine (URGENT)

#2460
From: Michel Leunen
Date: Mon, 19 Feb 2007 20:28
23 lines
1836 bytes
Stefano Bonifazi wrote:

> 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). If I use CreateProcess to run the process 
> giving \\OtherPC\somepath\myprog.exe as path, it is executed on my 
> machine!:) ?? Mayb that is correct, but not what I want to accomplish ))...

Yes, that's correct. RThat's the way it works.

> I would like to avoid to create a server that waits for a remote order 
> to execute my program on the second machine.. is that possible?

Sorry but AFAIK, it's the only way to do what you want.

Michel
-- 
----------------------------------------
Michel Leunen
mailto: see my homepage.
C++Builder, BCC5.5.1 Web site:
http://www.leunen.com/
----------------------------------------
Technical Details
Message-ID: <45da082f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!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
Date: Mon, 19 Feb 2007 21:28:13 +0100
From: Michel Leunen <nospam@noreply.be>
Organization: www.leunen.com
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: running programs on a different machine (URGENT)
References: <45d995d8@newsgroups.borland.com>
In-Reply-To: <45d995d8@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.247.90.234
Message-ID: <45da082f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1171916847 81.247.90.234 (19 Feb 2007 12:27:27 -0800)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail