🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #4658

Re: Beginner Win32 / C question

#4658
From: Gary Chanson
Date: Mon, 21 Jul 2003 23:38
34 lines
3027 bytes
"Eric" <justusenetplease@nospam4me.com> wrote in message 
news:1058825242.740685@halkan.kabelfoon.nl...
> Hello,
>
> How difficult is it to write an interface for my program to control 
> another
> application?
> IE a piece of code that catches other programs' text and graphical output
> and converts that to a workable format for my core program?
> I intend to write a bot for an Internet game which uses a client stored on
> my PC. However, I don't really have much experience with the Win32 API and
> would really appreciate some hints and pointers (no pun intended) to get 
> me
> started.
> I already received some good help in response to my earlier post, but I'm
> looking for as many approaches possible to help me better understand the
> whole problem.

    You've asked a very broad question which has multiple answers depending 
on what you're trying to do and how the program works.  Basically, it's 
going to involve message hooks, faked messages and input events, and 
communications between processes.

    I suggest telling us what you're trying to do and what questions you 
have.  I'm sure we can help.

-- 

-GJC
-Software Consultant (Embedded systems and Real Time Controls)
-gchanson@mvps.org

-Abolish public schools
Technical Details
Message-ID: <uvV0qF#TDHA.2220@TK2MSFTNGP11.phx.gbl>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!newspeer.monmouth.com!cyclone.bc.net!msrtrans1!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
References: <1058825242.740685@halkan.kabelfoon.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1162da,d27429a9cece8201
X-Google-Attributes: gid1162da,public
X-Google-Thread: 105df1,d27429a9cece8201
X-Google-Attributes: gid105df1,public
X-Google-Thread: fcea4,d27429a9cece8201
X-Google-Attributes: gidfcea4,public
X-Google-Thread: 108717,d27429a9cece8201
X-Google-Attributes: gid108717,public
X-Google-Thread: 10461f,d27429a9cece8201
X-Google-Attributes: gid10461f,public
X-Google-Thread: 10640b,d27429a9cece8201
X-Google-Attributes: gid10640b,public
X-Google-Thread: 110c1b,d27429a9cece8201
X-Google-Attributes: gid110c1b,public
X-Google-Thread: 113dfb,d27429a9cece8201
X-Google-Attributes: gid113dfb,public
X-Google-ArrivalTime: 2003-07-21 16:41:23 PST
From: "Gary Chanson" <gchanson@NOSPAM.TheWorld.com>
References: <1058825242.740685@halkan.kabelfoon.nl>
Subject: Re: Beginner Win32 / C question
Date: Mon, 21 Jul 2003 19:38:33 -0400
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1127
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1127
X-RFC2646: Format=Flowed; Original
Message-ID: <uvV0qF#TDHA.2220@TK2MSFTNGP11.phx.gbl>
Newsgroups: be.comp.programming,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.win32,comp.programming,forum.advanced.programming,microsoft.public.win32.programmer,microsoft.public.win32.programmer.gdi,microsoft.public.win32.programmer.ui
NNTP-Posting-Host: pool-151-203-201-93.bos.east.verizon.net 151.203.201.93
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!newspeer.monmouth.com!cyclone.bc.net!msrtrans1!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl