• 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 Projekte
1 2 3 Weiter »
Two Worlds 2

Ansichts-Optionen
Two Worlds 2
iNvIcTUs oRCuS Offline
Super Moderator
****
Beiträge: 2.688
Themen: 529
Registriert seit: Aug 2010
Bewertung: 19
#12
24.08.2011, 07:04
Hi maluc...

Das funktioniert auch bei mir.
Dein Codestück ist im Prinzip fast genauso aufgebaut wie meins. Der Unterschied liegt eigentlich nur in der Zeile 41 (in deinem Delphi Screenshot).
Meine Variante ist ja...
[code=Delphi]if (CompareText(Moduleentry.szModule, DLLName) =0) then[/code]

und deine Variante ist diese...
[code=Delphi]if lstrcmpi(ModuleEntry32.szModule, lpname)=0 then[/code]

Wenn ich das dahingehend abändere...
[code=Delphi]if lstrcmpi(ModuleEntry.szModule, DLLName)=0 then[/code]
... dann funktionierts. DLLName ist nur mein "Bezeichner" für die EXE/DLL. Woraufs ankommt ist das (ModulEntry32.szModule...).
Würde mich jetz nur interessieren warum das mit der API lstrcmpi funktioniert, aber mit CompareText nicht Huh

grEEtZ sILeNt heLLsCrEAm

PS: Könnte mir nur vorstellen das Delphi hier Probleme damit, denn ich glaube irgendwo mal gehört zu haben das die CompareText Funktion ein Delphieigenes mitbringsel ist. "lstrcmp/lstrcmpi" allerdings sind Windows API's wenn ich recht informiert bin. Sehr verwirrend, aber gut zu wissen das Dein Code auch bei mir läuft. Happy
Irren ist menschlich. Aber wer richtigen Mist bauen will, braucht einen Computer !!!

Traineranfragen per PM werden prinzipiell gelöscht...

[Bild: signatur6akm7.gif]
Suchen
Antworten
Share Thread:            


Nachrichten in diesem Thema
Two Worlds 2 - von iNvIcTUs oRCuS - 22.08.2011, 04:05
RE: Two Worlds 2 - von EuroCop - 22.08.2011, 22:46
RE: Two Worlds 2 - von iNvIcTUs oRCuS - 22.08.2011, 23:43
RE: Two Worlds 2 - von maluc - 23.08.2011, 10:49
RE: Two Worlds 2 - von iNvIcTUs oRCuS - 23.08.2011, 12:18
RE: Two Worlds 2 - von maluc - 23.08.2011, 13:16
RE: Two Worlds 2 - von iNvIcTUs oRCuS - 23.08.2011, 16:19
RE: Two Worlds 2 - von dr.olle - 23.08.2011, 19:20
RE: Two Worlds 2 - von iNvIcTUs oRCuS - 23.08.2011, 19:24
RE: Two Worlds 2 - von Acubra - 23.08.2011, 20:40
RE: Two Worlds 2 - von maluc - 23.08.2011, 22:00
RE: Two Worlds 2 - von iNvIcTUs oRCuS - 24.08.2011, 07:04
RE: Two Worlds 2 - von iNvIcTUs oRCuS - 24.08.2011, 19:12
RE: Two Worlds 2 - von iNvIcTUs oRCuS - 25.08.2011, 20:30
RE: Two Worlds 2 - von maluc - 26.08.2011, 01:31
RE: Two Worlds 2 - von iNvIcTUs oRCuS - 26.08.2011, 16:01

  • 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