I need code which will (in a loop) "check" for the existence of a specific file on my HD. Whatever I try, my app. hangs.
This is just so that you can see what I'm trying to do (it hangs):
FileIsThere : boolean;
FileIsThere := False;
if FileExists('c:\test.wav') then FileIsThere := True;
until FileIsThere = True;
// Now I can play the file!!!
Also, if it helps, I have the file size before it is put into the directory.