Click here to Skip to main content
15,895,709 members
Articles / Mobile Apps / Windows Mobile

Inject My DLL Into a Process

Rate me:
Please Sign up or sign in to vote.
5.00/5 (8 votes)
25 Jul 2009CPOL3 min read 40K   882   42  
A Windows Mobile Spy.
========================================================================
       MICROSOFT FOUNDATION CLASS LIBRARY for Windows CE: mydll
========================================================================


AppWizard has created this mydll DLL for you.  This DLL not only
demonstrates the basics of using the Microsoft Foundation classes but
is also a starting point for writing your DLL.

This file contains a summary of what you will find in each of the files that
make up your mydll DLL.

mydll.h
	This is the main header file for the DLL.  It declares the
	CMydllApp class.

mydll.cpp
	This is the main DLL source file.  It contains the class CMydllApp.


mydll.rc
    This is a listing of all of the Microsoft Windows CE resources that the
    program uses.  It includes the icons, bitmaps, and cursors that are stored
    in the RES subdirectory.  This file can be directly edited in Microsoft
	eMbedded Visual C++.

res\mydll.rc2
    This file contains resources that are not edited by Microsoft 
	eMbedded Visual C++.  You should place all resources not
	editable by the resource editor in this file.

mydll.def
    This file contains information about the DLL that must be
    provided to run with Microsoft Windows CE.  It defines parameters
    such as the name and description of the DLL.  It also exports
	functions from the DLL.

mydll.vcc
    This file contains information used by ClassWizard to edit existing
    classes or add new classes.  ClassWizard also uses this file to store
    information needed to create and edit message maps and dialog data
    maps and to create prototype member functions.

/////////////////////////////////////////////////////////////////////////////
Other standard files:

StdAfx.h, StdAfx.cpp
    These files are used to build a precompiled header (PCH) file
    named mydll.pch and a precompiled types file named StdAfx.obj.

Resource.h
    This is the standard header file, which defines new resource IDs.
    Microsoft eMbedded Visual C++ reads and updates this file.

/////////////////////////////////////////////////////////////////////////////
Other notes:

AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.

/////////////////////////////////////////////////////////////////////////////

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
Software Developer (Senior)
Jordan Jordan
Mobile Developer with deep Experience in Handheld Device Pocket Pc, Smart Phone in Win32, MFC With more than 8 years ago."Arabizer, Hook Function, Poom, Wirless Application, and low level Application". By C++ MFC and win32

http://windowsmobiledn.blog.com/

Comments and Discussions