Results 1 to 9 of 9
  1. #1
    syabilhamimi's Avatar
    Join Date
    Sep 2014
    Gender
    male
    Location
    마이크로 소프트 비주얼 스튜
    Posts
    198
    Reputation
    10
    Thanks
    41
    My Mood
    Lurking

    Question Need Help In C++

    What did I need to put at interface.h and interface.cpp
    I already put my source code at main.cpp.
    Can someone tell me what need to put at interface.h and interface.cpp?
    I would like to make some hack,this is my first try to make hack
    Hope you all can teach me

    나는 GFRIEND 사랑한다



  2. #2
    shahindah,5a's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Location
    Zigot
    Posts
    173
    Reputation
    10
    Thanks
    55
    My Mood
    Amazed
    [interface.h]


    #ifndef INTERFACE_H
    #define INTERFACE_H

    #include <Windows.h>
    #include <stdio.h>

    #ifdef RELIANT_EXPORTS
    #define RELIANT_API__declspec(dllexport)
    #else
    #define RELIANT_API__declspec(dllimport)
    #endif

    RELIANT_API void SimpleString();

    #endif

    - - - Updated - - -

    they say , main.cpp is enough to make dll but my dll always getting game hack has been detected

  3. The Following User Says Thank You to shahindah,5a For This Useful Post:

    syabilhamimi (06-08-2016)

  4. #3
    syabilhamimi's Avatar
    Join Date
    Sep 2014
    Gender
    male
    Location
    마이크로 소프트 비주얼 스튜
    Posts
    198
    Reputation
    10
    Thanks
    41
    My Mood
    Lurking
    Quote Originally Posted by shahindah,5a View Post
    [interface.h]


    #ifndef INTERFACE_H
    #define INTERFACE_H

    #include <Windows.h>
    #include <stdio.h>

    #ifdef RELIANT_EXPORTS
    #define RELIANT_API__declspec(dllexport)
    #else
    #define RELIANT_API__declspec(dllimport)
    #endif

    RELIANT_API void SimpleString();

    #endif

    - - - Updated - - -

    they say , main.cpp is enough to make dll but my dll always getting game hack has been detected
    Oh,then I just need leave the interface.cpp and interface.h?
    What code need to put at interface.cpp?
    Thanks for that code
    Last edited by syabilhamimi; 06-08-2016 at 11:22 AM.

    나는 GFRIEND 사랑한다



  5. #4
    Luffy's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Location
    GameMon.des
    Posts
    2,188
    Reputation
    180
    Thanks
    10,021
    My Mood
    Innocent
    Quote Originally Posted by syabilhamimi View Post
    Oh,then I just need leave the interface.cpp and interface.h?
    What code need to put at interface.cpp?
    Thanks for that code
    Make Empty Project Then Just Add .cpp


    MPGH History:
    Member: 02/1/2016
    Contributor: 29/6/2016
    Minion: 25/8/2016
    Former Staff: 07/02/2017


  6. The Following User Says Thank You to Luffy For This Useful Post:

    syabilhamimi (06-08-2016)

  7. #5
    shahindah,5a's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Location
    Zigot
    Posts
    173
    Reputation
    10
    Thanks
    55
    My Mood
    Amazed
    Quote Originally Posted by Akem125zr View Post
    Make Empty Project Then Just Add .cpp
    Hye akem , can you teach me and correct this code for me ?

    #include <windows.h>

    void Start()
    {
    while (1)
    {
    if (GetAsyncKeyState(VK_F7) & 1)
    {
    *(BYTE*)0x0054642B = 0x00;
    *(BYTE*)0x0054642C = 0x74;
    }
    if (GetAsyncKeyState(VK_F8) & 1)
    {
    *(BYTE*)0x0054642B = 0xFF;
    *(BYTE*)0x0054642C = 0x75;

    }
    }
    }




    im using this code and always getting game hack has been detected im using undtected injector because Another DLL can be inject but my dll is detected by blackshot , so can you help me ?

    - - - Updated - - -

    Quote Originally Posted by syabilhamimi View Post
    Oh,then I just need leave the interface.cpp and interface.h?
    What code need to put at interface.cpp?
    Thanks for that code
    As @Akem125zr say only need .cpp file in source file

  8. The Following User Says Thank You to shahindah,5a For This Useful Post:

    syabilhamimi (06-08-2016)

  9. #6
    syabilhamimi's Avatar
    Join Date
    Sep 2014
    Gender
    male
    Location
    마이크로 소프트 비주얼 스튜
    Posts
    198
    Reputation
    10
    Thanks
    41
    My Mood
    Lurking
    Quote Originally Posted by Akem125zr View Post
    Make Empty Project Then Just Add .cpp
    Oh!
    Thanks you for that information
    I use the COD3RIN tutorial,so they i really confuse about interface.h and interface.cpp
    Can I ask some question?
    How to put hotkey at my source?

    나는 GFRIEND 사랑한다



  10. #7
    MafiaBoy BlackShit's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Location
    Secret
    Posts
    610
    Reputation
    10
    Thanks
    2,236
    My Mood
    Amazed
    Quote Originally Posted by syabilhamimi View Post
    Oh!
    Thanks you for that information
    I use the COD3RIN tutorial,so they i really confuse about interface.h and interface.cpp
    Can I ask some question?
    How to put hotkey at my source?
    like this

    void Start ()
    {
    while (1)
    {
    if ((GetAsyncKeyState(VK_F5)))
    }
    We're Anonymous
    We're Hacker, We're Not Going To Stop!
    Bcaus We're Hacker!

    AOA Music

  11. #8
    Luffy's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Location
    GameMon.des
    Posts
    2,188
    Reputation
    180
    Thanks
    10,021
    My Mood
    Innocent
    Quote Originally Posted by syabilhamimi View Post
    Oh!
    Thanks you for that information
    I use the COD3RIN tutorial,so they i really confuse about interface.h and interface.cpp
    Can I ask some question?
    How to put hotkey at my source?
    if (GetAsyncKeyState(VK_INSERT)&1) < ---- Just Change INSERT To Ur Hotkey . U Can Read HERE For Virtual Key .
    Last edited by Luffy; 06-08-2016 at 11:53 AM.


    MPGH History:
    Member: 02/1/2016
    Contributor: 29/6/2016
    Minion: 25/8/2016
    Former Staff: 07/02/2017


  12. #9
    Smoke's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    8,197
    Reputation
    2093
    Thanks
    3,672
    My Mood
    Amazed
    Been over 2 days since last update/bump after answers, assuming solved.

    /Closed.
    My ONLY skype is "smoke.mpgh" Please Private Message me BEFORE Buying/Selling anything from me

    Quote Originally Posted by Liz View Post
    This is my first vouch, ever. Rapidgator account worked perfectly. Would buy in the future.
    MPGH History:
    Joined- November 2014
    Donator/Premium Member- October 2015
    Steam Games Hacks & Cheats Minion- December 2015
    Blackshot Minion- January 2016
    Pharaoh of the Year- 2016
    Minion+- June 2016
    Grand Theft Auto Minion- July 2016
    Official Middleman- September 2016

Similar Threads

  1. [Help Request] Need Help
    By shane11 in forum CrossFire Help
    Replies: 49
    Last Post: 05-03-2011, 04:29 AM
  2. [Help Request] Need help finding a Vindictus injector
    By VpChris in forum Vindictus Help
    Replies: 2
    Last Post: 05-01-2011, 10:51 PM
  3. [Help Request] need help with mod
    By .:MUS1CFR34K:. in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 4
    Last Post: 05-01-2011, 12:40 PM
  4. [Help Request] I need help~~!!!!
    By c834606877 in forum Alliance of Valiant Arms (AVA) Help
    Replies: 1
    Last Post: 05-01-2011, 01:12 AM
  5. [Help Request] need help with modding
    By BayBee Alyn in forum Combat Arms Help
    Replies: 0
    Last Post: 04-27-2011, 09:06 PM