1. Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as:

    All that and more! Registration is quick, simple and absolutely free. Join our community today!

C and C++ How To Make A Simple DLL Hacks

Discussion in 'Coding, Programming' started by warhistory, Mar 26, 2016.

  1. warhistory

    warhistory Enthusiast Established

    Visual C++ 2008 Express Edition with Sp1.

    Download and Install

    [​IMG]

    [​IMG]

    Open C++, then make a new project
    File -> New -> Project

    [​IMG]

    Project types: Win32
    Templates: Win32 Project
    Then type the name of your hack then click ok
    [​IMG]
    [​IMG]

    Application Type: DLL
    Additional Options: Empty Project
    Then click Finish
    [​IMG]

    Now, in the left menu your project will appear
    Solution 'NameOfYourHack' (1 project)
    - NameOfYourHack
    * Header Files
    * Resource Files
    * Source Files

    To start the base of the NoMenu hack
    Right click the folder "Source Files"
    Source Files -> Add -> New Item

    [​IMG]

    Now in the menu that shows up
    Click on "C++ File (.ccp)"
    Visual C++ -> C++ File (.cpp)
    Name it "Main"
    [​IMG]

    Now a blank document will appear.
    This is where the real NoMenu hack building starts

    We start off defining some windows stuff
    Code:

       Sorry you need to Register / Login to see this Codes!    

    .

    Then Add This Addys ..
    Code:

       Sorry you need to Register / Login to see this Codes!    

    These are just the basic addies that you will allways need.

    It makes it not include in the hack so you won't recieve errors for this.
    It's most used to remember things for if you watch back later and you're like WTH did I do.

    Beneath the addies define something for the "HackThread"

    Code:

       Sorry you need to Register / Login to see this Codes!    

    Now .. Put This Source Codes & also known as Code Snippets ..
    Code:

       Sorry you need to Register / Login to see this Codes!    

    Now. We are going to add a hackthread.
    Code:

       Sorry you need to Register / Login to see this Codes!    

    And The Last Step .. copy this Code ....
    Code:

       Sorry you need to Register / Login to see this Codes!    

    THEN ..
    Debug -> Release | Win32
    [​IMG]

    Now, press F7 to build the hack .. YOu see an error ? -- > READ carefuly what is error .. Some of error is like an ADR_Playerpointer _ undeclared identifier ,, .. click the error and correct the spelling & correct what is Small and Big Letter


    [q]Where i can see the my hack?
    [a]My Documents -> Visual Studio 2008 -> Project -> (NameOfYourHack) -> Release -> (NameOfYourHack).dll

    DONE DUDE .. Youve create your 1st hack .. Dont forget my name if you need help :D
    CREDITS:
    Sa Sarili Ko :) warhistory
     
    Last edited: Mar 26, 2016
    alexander, jimboy1988 and knatskee77 like this.
Tags / Keywords: