pspad: -------------------------------------------------------------------------------- What I am doing now is: when I open file, I use FindFirstFile() API, and from FindData I remember LastWriteTime. After PSPad activation, i go through open files and check if LastWriteTime is same. It means "something" is changing LastWriteTime of your files. --------------------------------------------------------------------------------
just guessing...: http://msdn.microsoft.com/en-us/library/system.io.filesysteminfo.lastwrit etime.aspx: -------------------------------------------------------------------------------- Note This method may return an inaccurate value, because it uses native functions whose values may not be continuously updated by the operating system. When first called, FileSystemInfo calls Refresh and returns the cached information on APIs to get attributes and so on. On subsequent calls, you must call Refresh to get the latest copy of the information. -------------------------------------------------------------------------------- do you call Refresh method? -- <http://forum.pspad.com/read.php?6,53914,53942> PSPad freeware editor http://www.pspad.com
