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.

    Kleines Problem


    xaaser
     Share

    Recommended Posts

    Ich bekomme immer diese warnung und jetz wollte ich fragen wie ich sie wieder weg bekomme.

     

    [bCC32 Warnung] main.cpp(74): W8070 Funktion sollte einen Wert zurückgeben

     

    und wenn ich drauf klicke komm ich zu:

     

    int ReadMemoryInt(int iAdress)
    {
    long memresult;
    HWND hWnd = FindWindow(0, "WarRock");
    GetWindowThreadProcessId(hWnd, &proc_id);
    hProcess = OpenProcess(PROCESS_ALL_ACCESS|PROCESS_VM_OPERATION|PROCESS_VM_READ|PROCESS_VM_WRITE|PRO
    CESS_QUERY_INFORMATION, FALSE, proc_id);
    if (hProcess==0) {
    	exit;
    }
    else {
    	ReadProcessMemory(hProcess, (LPVOID*)(DWORD) iAdress, &memresult, sizeof(memresult), NULL);
    	return memresult;
    }
    }

     

    und die letze zeile ist rot.

     

    soll ich da einfach noch ein ; dazu fügen oder was

    Link to comment
    Share on other sites

    PHP
    int ReadMemoryInt(int iAdress)

    {

    long memresult;

    HWND hWnd = FindWindow(0, "WarRock");

    GetWindowThreadProcessId(hWnd, &proc_id);

    hProcess = OpenProcess(PROCESS_ALL_ACCESS|PROCESS_VM_OPERATION|PROCESS_VM_READ|PROCESS_VM_WRITE|PRO

    CESS_QUERY_INFORMATION, FALSE, proc_id);

    if (hProcess==0) {

    exit;

    }

    else {

    ReadProcessMemory(hProcess, (LPVOID*)(DWORD) iAdress, &memresult, sizeof(memresult), NULL);

    return memresult;

    }

    return 0;

    }

     

    für

    if (hProcess==0) {
    	exit;
    }

     

    würde ich

    if (hProcess==0) {
    	return 0;
    }

    machen!

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