FileFind prcoedure sometime does not find existing file

Raz A.
Haifa,

Apr 20, 2021
82 Posts

0  |  0  

Re: FileFind prcoedure sometime does not find existing file

I am using Ateasy 7 142g in windows xp

For some reason, FileFind(..) sometimes does not find RECENTLY  created files (by thrid party exe)
In the windows folders you can actually see the files but FileFind cannot see them.

It does not always, happen, just randomly...

What might be the reason for this to happen?

Solution Available
DrATEasy (Ron Y.)
Mission Viejo, CA

Apr 21, 2021
358 Posts

1  |  0  

Re: FileFind prcoedure sometime does not find existing file

Internal.FileFind() uses Windows APIs FindFirstFile/FindNextFile . So I assume the issue is within these API, see https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-findnextfilea, Could be cache issue. What is RECENTLY? is it mSec before that? See if you can disable the drive volume caching from the disk manager have any effect.



Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]