I got this error, when the path for crpData.pszErrorReportSaveDir
paramter contains the unicode letters.
pszErrorReportSaveDir = %tmp%/Folder
And %tmp% contains unicode letter.
I install the crash report for 4 exes, they share the same path, only
two of them have the problem, the others work fine.
Found problems, I think.
1. refer to here:
http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx#shor...
windows have short name, if i pass the short name for the path to
crash report, it failed to create the directory.
Solution: i try the GetLongPathName, it works then.
2. if the base path is not existed, it failed to create the directory,
etc. D:\tmp\test\crash
if D:\tmp\test doesn't exist, it will fail.
Original issue reported on code.google.com by zexspect...@gmail.com on 4 Mar 2011 at 4:56
Original issue reported on code.google.com by
zexspect...@gmail.com
on 4 Mar 2011 at 4:56