Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    C++ Error..


    x3PhoeniX
     Share

    Recommended Posts

    Hello,

    I made a god mode hack for Op7 EU and wanted to test it..

    I started with C++ so don't worry..

    The code:

    #include <Windows.h>

    #include <Stdio.h>

     

    #define god 0x00C063F4

     

     

    void hacks() {

    for(;O.o {

    *(float*)(god)=100;

    if(*(float*)(god) <= 100) { *(float*)(god) = 100; }

    Sleep(21);

    }

    }

     

    BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)

    {

    if(dwReason == DLL_PROCESS_ATTACH)

    {

    CreateThread(0, 0, (LPTHREAD_START_ROUTINE)hacks, 0, 0, 0);

    }

    return TRUE;

    }

     

    The error:

    [Linker error] undefined reference to `WinMain@16'

    ld returned 1 exit status

     

    Thanks for helping!

     

    Greetings, Phoenix

    Link to comment
    Share on other sites

    Hello,

    I made a god mode hack for Op7 EU and wanted to test it..

    I started with C++ so don't worry..

    The code:

     

     

    The error:

     

     

    Thanks for helping!

     

    Greetings, Phoenix

     

    bei mir funtzt alles

    vlt #include "stdafx.h" ...

    Link to comment
    Share on other sites

    Hi,

    ich habe jetzt auch die Version von devcpp benutzt:

    #ifndef _DLL_H_

    #define _DLL_H_

     

    #if BUILDING_DLL

    # define DLLIMPORT __declspec (dllexport)

    #else /* Not BUILDING_DLL */

    # define DLLIMPORT __declspec (dllimport)

    #endif /* Not BUILDING_DLL */

     

     

    class DLLIMPORT DllClass

    {

    public:

    DllClass();

    virtual ~DllClass(void);

     

    private:

     

    };

     

     

    #endif /* _DLL_H_ */

    #include <Windows.h>

    #include <Stdio.h> ........

     

    Gleiche Fehlermeldung

     

    Ich benutzte devcpp als Programm, und g++ als Compiler.

    Danke

    Link to comment
    Share on other sites

    Zuerst: Dev-C++ ist eine IDE, die schon länger nichtmehr weiterentwickelt wird und verbuggt ist. Lieber nicht verwenden. Meine Vermutung ist, dass du eine DLL kompilieren willst, aber ein falschen Projekt-Template geöffnet hast.

    Link to comment
    Share on other sites

    Jetzt hats geklappt, danke!

    Werd den Hack mal gleich ausprobieren, danke!

    Link to comment
    Share on other sites

    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...