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.

    .dll/c++ coding hilfe


    Alpacino
     Share

    Recommended Posts

    Also ich versuche gerade nen hack in Visual c++ 2008 zu erstellen!

    Hab alles soweit eig. durch Hilfe geschafft!

    Habe 1 cpp datei wo dieser code drin ist:

    #include <stdio.h>
    #include <windows.h>
    
    DWORD *ingame= (DWORD*)0x10FE498;
    
    void Stamina()
    {
       if(*ingame) //check if we are ingame.. prevent crashs
       {
           DWORD *stam= (DWORD*)0x10FE498;
           DWORD *stam2= ( DWORD* )((*stam) + 0x2A4);
           *(float*)stam2 = (float)100;
       }
    }
    void HackThread()
    {
       for(;
       {
           Stamina();
           Sleep(21); //prevent for overloading the cpu
       }
    }
    BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
    {
       if(dwReason == DLL_PROCESS_ATTACH)
       {
           CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0); //create the hackthread
       }
       return TRUE;
    }

     

    Jetzt kommt aber immer dieser Fehler:

    1>LINK : fatal error LNK1561: Einstiegspunkt muss definiert werden.
    

     

    Ich freue mich für jede Hilfe!

    MfG

     

    EDIT:

    Und in Visual C++ 6.0 kommt dieser Fehler:

    c:\dokumente und einstellungen\alpacino\desktop\dll5.cpp(31) : fatal error C1010: unexpected end of file while looking for precompiled header directive

    Edited by Alpacino
    Link to comment
    Share on other sites

    ich kenne denn syntax von vs 2008 nicht aber der fehler sagt:

     

    er finded das nicht:

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

     

    dllmain ist dein einstiegspunkt ...

    Link to comment
    Share on other sites

    c:\dokumente und einstellungen\alpacino\desktop\dll5.cpp(31) : fatal error C1010: unexpected end of file while looking for precompiled header directive

     

    you need "stdafx.h" your project.

    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...