Timers...

I have a call to a dll function which creates an output.txt file.

I need to use that file afterwards, but have no way to know how long it is going to take to create the file. The function has no return.

Any ideas?