Click here to Skip to main content
15,886,798 members
Articles / Programming Languages / C++

Sweep the Minesweeper

Rate me:
Please Sign up or sign in to vote.
4.92/5 (7 votes)
19 Mar 2001 181.1K   3K   48  
This article shows how to inject your code into another applications address space and then subclass their window to force it to act as you desire.
// Prevent multiple inclusions
#define WIN32_LEAN_AND_MEAN
#define STRICT

#ifndef _APP_DEFS_
#define _APP_DEFS_

#include <windows.h>
#include <windowsx.h>

#endif	// _APP_DEFS_

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Pakistan Pakistan
Mumtaz Zaheer is working as Senior System Analyst with Information Architects, Pakistan (http://www.info-architects.com/).

Comments and Discussions