• Trainer
  • Forums
  • Suche
  • Members
  • Kalender
  • Hilfe
  • Extras
Forum stats
Show team
Neue Beiträge ansehen
Heutige Beiträge ansehen
Home of Gamehacking - Archiv
Login to account Create an account
Login
Benutzername:
Passwort: Passwort vergessen?
 



  Home of Gamehacking - Archiv Gamehacking Gamehacking
« Zurück 1 ... 4 5 6 7 8 Weiter »
[Frage]:n MicrosoftMemory Editing o Visual C++

Ansichts-Optionen
[Frage]:n MicrosoftMemory Editing o Visual C++
igromanru Abwesend
Member
***
Beiträge: 171
Themen: 0
Registriert seit: Oct 2010
Bewertung: 0
#10
15.05.2011, 16:42 (Dieser Beitrag wurde zuletzt bearbeitet: 15.05.2011, 16:47 von igromanru.)
(15.05.2011, 13:35)DNA schrieb: Von einer Warnung halte ich nicht viel ... sowas macht den Trainer direkt
unsympathisch

Um einen Trainer sympatisch zu machen, muss man erst mal gut programmieren können...


Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
int GetProcByName(int id ,char *pname ,int namebuflen)
{
    HINSTANCE hProcessSnap;
    PROCESSENTRY32 pe32 = {0};
    hProcessSnap = (HINSTANCE)CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
    if(hProcessSnap == (HANDLE)-1){
      return 1;
    }

    pe32.dwSize = sizeof(PROCESSENTRY32);

    if (Process32First(hProcessSnap, &pe32))
    {
        do
        {
            if( pe32.th32ProcessID  == id ){
                if( (strlen(pe32.szExeFile)+1) > namebuflen ) {
                    return 1;
                }
                strcpy(pname ,pe32.szExeFile);
                return 0;
            }   
       
        }
        while( Process32Next(hProcessSnap, &pe32) );
    }
  return 1;
} 

Suchen
Antworten
Share Thread:            


Nachrichten in diesem Thema
[Frage]:n MicrosoftMemory Editing o Visual C++ - von IHacked - 14.05.2011, 19:31
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von CCodex - 14.05.2011, 19:51
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von IHacked - 14.05.2011, 21:13
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von CCodex - 14.05.2011, 21:51
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von IHacked - 14.05.2011, 23:46
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von DNA - 15.05.2011, 00:20
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von igromanru - 15.05.2011, 12:55
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von DNA - 15.05.2011, 13:35
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von Acubra - 15.05.2011, 14:35
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von igromanru - 15.05.2011, 16:42
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von DNA - 15.05.2011, 19:44
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von igromanru - 15.05.2011, 23:16
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von IHacked - 15.05.2011, 23:49
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von igromanru - 16.05.2011, 01:15
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von IHacked - 16.05.2011, 03:10
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von igromanru - 16.05.2011, 13:37
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von IHacked - 16.05.2011, 16:26
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von Acubra - 16.05.2011, 19:54
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von IHacked - 16.05.2011, 21:42
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von fr33k - 16.05.2011, 23:13
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von igromanru - 17.05.2011, 13:34
RE: [Frage]:n MicrosoftMemory Editing o Visual C++ - von IHacked - 17.05.2011, 20:55

  • Druckversion anzeigen
  • Thema abonnieren


Benutzer, die gerade dieses Thema anschauen:
1 Gast/Gäste

  • Kontakt
  • Forum team
  • Forum stats
  • Nach oben
 
  • RSS-Synchronisation
  • Lite mode
  • Home of Gamehacking - Archiv
  • Help
 
Forum software by © MyBB - Theme © iAndrew 2014



Linearer Modus
Baumstrukturmodus