Hi Stefan,

Thursday, January 31, 2002, 7:17:58 PM, you wrote:

> go through. :-) Here is the source of a sample BAV plug-in written
> in Delphi.

Great, thanks :-)



Have someone started to play with the code? It seams that the
"CheckFile" function does not work. I have changed the code to:

-----------------------
function FileChecking: Integer; stdcall;
begin
  Result := AVC_OK;
end;

function StreamChecking: Integer; stdcall;
begin
  Result := AVC_NotSupported;
end;

function CheckFile(AFileName: PChar; Msg: PChar): Integer; stdcall;
begin
  StrCopy(Msg, 'Test');
  Result := AVC_VirusFound;
end;
-----------------------

But if i check an folder, TB! does not report the "virus".

And does someone know how to enable the "Configure" button. The
"Setup" function will never be called.


BTW: It seams that the "MakeStr" function forget the terminating zero
on the buffer size Checking. And the line "{$R *.res}" could be
removed.

cu,
 Dirk
-- 
Using The Bat! 1.54 Beta/34 (S/N 12A1F196 / Educational) under Windows 95 4.0 Build 
67109975  B

-- 
_________________________________________________________
Archives   : http://tbbeta.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]
Wish List  : http://wish.thebat.dutaint.com
BugTraq    : https://bt.ritlabs.com/

Reply via email to