🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Controlling another application

#9959
From: Daniele Borini
Date: Tue, 01 Jun 2004 09:24
49 lines
2976 bytes
Confucio said something like:
"i watch i forget, i read i remenber, i do i understand"

i don't mind to take a complete control over the computers by using a 
compiled application.
I prefer to learn how do something like this. Maybe tomorrow it should 
be usefull for another purpose. don't you think?

P.S.
i tryied your code but nothing' changed averytime i try to read from the 
stdout (ReadFile(hStdoutR,&str_out,sizeof(str_out),&i,NULL);) program 
freezees.
i try to break execution after the CreateProcess call, in the task 
manager there's no trace of a cmd process.. ?:-/


Remy Lebeau (TeamB) ha scritto:
> "Daniele Borini" <borini@infinito.it> wrote in message
> news:40bc431c@newsgroups.borland.com...
> 
> 
>>my purpose is take control of another computer
>>over the local network
> 
> 
> Well, then that is an entirely different matter altogether.  It is not
> enough to take over applications.  You would have to take over a lot more
> than that, such as generic mouse and keyboard input as well.  And of course
> you would have to capture all of that information as well so that you can
> transmit to the controlling PC so you can even see what you are controlling
> in the first place.
> 
> 
>>i've 5 computers at home 2 downstairs and 3 upstair.
>>Everytime i have to do some tests, or try some applications
>>i must take many time the stairs to launch applications, restart
>>applications, modify a parameter... If i could use only a pc with
>>a sort o "remote controller" i should save many time.. Don't you
>>think?!
> 
> 
> Why not just use pre-made remote control programs then?  Such as PCAnywhere
> or the like.  That is exactly the kind of things they are already designed
> for.
> 
> 
> Gambit
> 
> 
Technical Details
Message-ID: <40bc4b39@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <40b882fd@newsgroups.borland.com> <40b8ec28$1@newsgroups.borland.com> <40bb1e04@newsgroups.borland.com> <40bbabcd$1@newsgroups.borland.com> <40bbaf53$1@newsgroups.borland.com> <40bbe4fe$1@newsgroups.borland.com> <40bc431c@newsgroups.borland.com> <40bc456d$4@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,5907943efec0dea8
X-Google-Attributes: gid10cc67,public
Date: Tue, 01 Jun 2004 11:24:07 +0200
From: Daniele Borini <borini@infinito.it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.6) Gecko/20040113
X-Accept-Language: it, en, en-us
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Controlling another application
References: <40b882fd@newsgroups.borland.com> <40b8ec28$1@newsgroups.borland.com> <40bb1e04@newsgroups.borland.com> <40bbabcd$1@newsgroups.borland.com> <40bbaf53$1@newsgroups.borland.com> <40bbe4fe$1@newsgroups.borland.com> <40bc431c@newsgroups.borland.com> <40bc456d$4@newsgroups.borland.com>
In-Reply-To: <40bc456d$4@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 62.94.67.47
Message-ID: <40bc4b39@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1086081849 62.94.67.47 (1 Jun 2004 02:24:09 -0700)
Lines: 49
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail