Page 1 of 1

In a hurry?

Posted: Wed Dec 05, 2012 5:13 am
by MSpagni
It happens to me that I change the files I'm comparing in EDP using different programs/editors.
I have the auto-recompare option set.
It is not infrequent that, while the other editor is saving the updated file, EDP complains about "not being able to open the file... because it doesn't exist or it's locked by another application" (or something like that).
As you can understand, it's a matter of a fraction of a second.
I suppose that EDP is handling the OS message about a file system change.
Can EDP be made a little more "patient"?

Re: In a hurry?

Posted: Sat Dec 08, 2012 11:30 am
by psguru
The latest build (6.0.2.4) uses a new setting, "Change Notification Post Delay" under My Computer\HKEY_CURRENT_USER\Software\PrestoSoft\ExamDiff Pro\Settings, in milliseconds. You can play with it (the default is 0). It works only in file comparison and merge, not directory comparison. You need to start EDPro and exit to get the value initially written in the Registry.

Re: In a hurry?

Posted: Thu Dec 13, 2012 6:01 am
by MSpagni
I had no time to make many experiments yet, but I set the value to 1000 (1 s) and so far it seems to work perfectly.
Thank you (as always).

Re: In a hurry?

Posted: Thu Dec 13, 2012 8:56 am
by MSpagni
Ehm... I wrote a bit too early.
Sometimes the comparison is not refreshed at all and I must recompare by hand.
More as soon as I discover how and why.

Re: In a hurry?

Posted: Thu Dec 13, 2012 9:02 am
by psguru
Please let me know what you find out. It's a simple change though: if the setting is not 0, a thread is created that sleeps for the specified prion before posting the notification message.