0

Hello.
I have some function named:

Function Decrypt(pBuffer :TBytes) : TBytes ;

and I hooked winsock recv method, and I have this function:

function R_CallBack(a1:Integer; var buffer;a2,a3:Integer):cardinal;stdcall;
var DecryptedBuffer:TBytes;
begin
DecryptedBuffer:=Decrypt(buffer);
Result:=1;
end;

but I'm getting an error..

Incompatible types: 'procedure, untyped pointer or untyped parameter' and 'TBytes'
What should I do? :S

Edited by lelejau: n/a

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by pyTony
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.