D
dw80916
Guest
Hi All,
I have an application that processes many text files. When each file is opened, a simple comparison is done of the file's CreationTime & LastWriteTime to see if the file has been potentially modified. If the file has never been saved since it was created, then these two values should be equal.
It works well except one file is presenting a problem. The values display as being equal but do not evaluate as being equal. Is it possible these values include milliseconds even though not displayed?
As you can see execution stopped on the breakpoint for when the values are not equal but in the Watch List below the two values are shown as being equal.
Any insight would be appreciated.
Continue reading...
I have an application that processes many text files. When each file is opened, a simple comparison is done of the file's CreationTime & LastWriteTime to see if the file has been potentially modified. If the file has never been saved since it was created, then these two values should be equal.
It works well except one file is presenting a problem. The values display as being equal but do not evaluate as being equal. Is it possible these values include milliseconds even though not displayed?
As you can see execution stopped on the breakpoint for when the values are not equal but in the Watch List below the two values are shown as being equal.
Any insight would be appreciated.
Continue reading...