C++ method for Delphi

Asked

Viewed 92 times

-2

Hello, good morning to all.

Please wonder how this C++ method would look below in Delphi.

Follows:

bool hook(void* old_function, void* new_function)
{
  return eat_hook(old_function, new_function) && iat_hook(old_function, new_function);
}
  • External links are unreliable, replace the link with the code that best defines your question.

  • @rubStackOverflow, In case the code snippet would be just that above.

  • So what? Nobody knows? :-)

1 answer

1


function hook(old_function: Pointer; new_function: Pointer): Boolean;
begin
   Result := eat_hook(old_function, new_function) and iat_hook(old_function, new_function);
end;

Browser other questions tagged

You are not signed in. Login or sign up in order to post.