Click here to Skip to main content
15,884,353 members
Articles / Programming Languages / ASM

Grafting Compiled Code: Unlimited Code Reuse

Rate me:
Please Sign up or sign in to vote.
4.83/5 (30 votes)
7 Mar 2008CPOL17 min read 94.8K   2.2K   83  
Add functionality to a project using existing compiled machine code.
// Sample.h : main header file for the PROJECT_NAME application
//

#pragma once

#ifndef __AFXWIN_H__
	#error "include 'stdafx.h' before including this file for PCH"
#endif

#include "resource.h"		// main symbols

// CPEChecksumApp:
// See Sample.cpp for the implementation of this class
//

class CPEChecksumApp : public CWinApp
{
public:
	CPEChecksumApp();

// Overrides
	public:
	virtual BOOL InitInstance();

// Implementation

	DECLARE_MESSAGE_MAP()
};

extern CPEChecksumApp theApp;

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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Systems / Hardware Administrator
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions