home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,202 of 2,978   
   Marco van de Voort to eljainc   
   Re: BP Program execution under WinXP   
   11 Jul 06 07:06:26   
   
   From: marcov@stack.nl   
      
   On 2006-07-10, eljainc  wrote:   
   > ....   
   > FindFirst(MyPath+'*.TIF',Anyfile,SRec);   
   >   
   > When this routine is run under Windows XP, the FindFirst command is   
   > really slowing down the whole PC.   
      
   It probably already caches the whole dir. FS implementation, not much you   
   can do. Also how do you measure "slowing down the whole PC"?   
      
   Moreover this kind of stuff is filesystem dependant, is it on FAT32 or NTFS?   
      
   >I need to check the presence of a TIF   
   > file to decide whether to do further processing.  Is there a faster   
   > implementation of FindFirst available?  Or is there another way around   
   > my problem?  This routine gets called about every second or two.   
      
   Using the winapi you can have an event sent when a dir on a NTFS fs changes,   
   maybe a small win32 console app/services that somehow signals the BP app?   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca