Blad-api-haakoplossing

Haak callback-functie en API-functie-variabele
Download nu

Blad-api-haakoplossing Rangschikking & Samenvatting

Advertentie

  • Rating:
  • Vergunning:
  • Free
  • Naam uitgever:
  • THE LAST LEAF
  • Uitgever website:
  • http://leafsolution.googlepages.com/
  • Besturingssystemen:
  • Windows 2000, Windows Vista, Windows NT, Windows XP
  • Bestandsgrootte:
  • 26.37K

Blad-api-haakoplossing Tags


Blad-api-haakoplossing Beschrijving

Bij het haken van een API moeten we een soort haak callback-functie en originele API-functie-variabele schrijven var MessageBoxAntekst: Functie (HWND: HWND; LPTEXT, LPCAPTION: Pansichar; UTYPE: UINT): geheel getal; stdcall; Functie MessageBoxAcallback (HWND: HWND, LPTEXT, LPCAPTION: Pansichar, UTYPE: UINT): geheel getal; stdcall; beginnen Resultaat: = MessageBoxAntext (HWND, LPTEXT, 'BERICHT VAN DLL', UTYPE); einde; Plaats alle code in een DLL voor Global Api Hook zoals deze Procedure DLLMAIN (DWRAW: DWORD); beginnen CASE DWRAW VAN DLL_PROCESS_ATTACH: BEGIN Hookapi ('user32.dll', 'berichtboxa', @MessageBoxAcallback, @messagesBoxanext); einde; DLL_PROCESS_DETACH: BEGIN Unhookapi ('User32.dll', 'MessageBoxa', @MessageBoxanext); einde; einde; einde; beginnen Dllproc: = @dlllmain; DLLMAIN (DLL_PROCESS_ATTACH); einde.


Blad-api-haakoplossing Gerelateerde software

Unidac

UNIDAC is een krachtige bibliotheek met niet-functionele Cross-database-toegangscomponenten voor Delphi, Delphi voor .NET en C ++ Builder. De Unified Access is beschikbaar voor Oracle, Microsoft SQL Server, MySQL, in ...

107 7099K

Downloaden