Article View: be.comp.programming
Article #4659Re: Beginner Win32 / C question
From: Tristan
Date: Tue, 22 Jul 2003 03:16
Date: Tue, 22 Jul 2003 03:16
36 lines
2956 bytes
2956 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? Not very. There are a few things you can try. > 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. Then do a search on WM_COPYDATA . It's a windows message you can use to transfer data between applications. > 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. > Well I'm a firm beleiver in DIY. Look up how to pass data from app to app using the WM_COPYDATA message. If you're feeling brave, once WM_COPYDATA is a peice of cake for you, then lookup how to synchronize processes using mutexes. > Thanks in advance, > > Eric Well I know code samples kick ass .. but if you search for WM_COPYDATA , you'll find what you need. Tristan
Technical Details
Message-ID:
<9128bb49.0307211916.7d6cc2c2@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailReferences:
<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: 10640b,d27429a9cece8201 X-Google-Attributes: gid10640b,public X-Google-Thread: 108717,d27429a9cece8201 X-Google-Attributes: gid108717,public X-Google-Thread: fcea4,d27429a9cece8201 X-Google-Attributes: gidfcea4,public X-Google-Thread: 105df1,d27429a9cece8201 X-Google-Attributes: gid105df1,public X-Google-Thread: 113dfb,d27429a9cece8201 X-Google-Attributes: gid113dfb,public X-Google-Thread: 10461f,d27429a9cece8201 X-Google-Attributes: gid10461f,public X-Google-Thread: 110c1b,d27429a9cece8201 X-Google-Attributes: gid110c1b,public X-Google-ArrivalTime: 2003-07-21 20:16:38 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: tristan@spiralmultimedia.ca (Tristan) 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 Subject: Re: Beginner Win32 / C question Date: 21 Jul 2003 20:16:37 -0700 Organization: http://groups.google.com/ Lines: 36 Message-ID: <9128bb49.0307211916.7d6cc2c2@posting.google.com> References: <1058825242.740685@halkan.kabelfoon.nl> NNTP-Posting-Host: 216.58.8.176 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1058843798 31003 127.0.0.1 (22 Jul 2003 03:16:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 22 Jul 2003 03:16:38 GMT