Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
Delphi 10.2 Tokyo Professional
|
Re: funktionen & procedures en&decrypten
18. Nov 2008, 23:44
Hi,
Ich meine das so:
Delphi-Quellcode:
type
TCryptFunc = function(x: Integer): String;
var
x: Pointer;
begin
x := Pointer($ABCDEF); // Die Adresse wo die verschlüsselte Funktion steht
Decrypt(x); // Entschlüsseln
TCryptFunc(x)(20); // Aufruf
end;
Michael "Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
|