[DUG] Virus scanning causing GetFileVersion to go slow
Peter Hyde
peter at webcentre.co.nz
Mon Sep 24 19:10:08 NZST 2012
> Anyone know a way to check the version number of a network file
> without triggering the virus scanner? This is particularly problematic
> because this runs every time the program starts, so start up time is
> increasing by heaps.
Sadly, I don't think there will be a way (but would be nice to be proved wrong).
You may instead need to put in a saved counter or time check of some kind so that
version-info checks only happen occasionally for network drives, e.g. max once per day, or
only every fifth invocation or some such.
Could you perhaps rely on file datetime as an intervening proxy for version? Assuming file
date checks work more quickly on network drives.
cheers,
peter
More information about the Delphi
mailing list