What steps will reproduce the problem?
1. Use crAddFile2 to add a file in the Crash callback
2. Crash the program
3. Retrieve the file from the crash zip archive
What is the expected output? What do you see instead?
Expect the file's Date Modified to be the original file's modification
timestamp, but it is set to the original file's creation timestamp.
This can be fixed in ErrorReportSender,
(CErrorReportSender::CompressReportFiles) by using a different timestamp when
creating the zip version of the file:
Altering:
FileTimeToSystemTime(&fi.ftCreationTime, &st);
to be
FileTimeToSystemTime(&fi.ftLastWriteTime, &st);
What version of CrashRpt are you using?
1.2.0.7 (code is the same in current version)
What is your version of Visual Studio?
VS2010
What is your version of Windows operating system?
XP
Andy
Original issue reported on code.google.com by und...@gmail.com on 4 Mar 2012 at 11:25
Original issue reported on code.google.com by
und...@gmail.com
on 4 Mar 2012 at 11:25