Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
cb-crash-recover folder
thomas:
The intent is to save everything to a subfolder of "My Files" ( == "Eigene Dateien") and that's what happens on my Windows system, too (at least it did so when I last tested it ~2 months ago, and since disabling CC, I have no crashes, so I cannot tell of late ;)).
"Application Data" is not a good place to save it IMO because it is not application data, it is user data. :)
Will look into it pronto. :)
thomas:
Since that line in the crash handler never changed, it must be GetHomeFolder() which now returns a pathname without trailing slash, while returning a trailing slash before. Strange enough, I cannot find the revision in which this happened (must be a couple of months back).
Anyway, Yiannis' fix seems to do the job. It won't work on Windows 95/98, but the crash handler doesn't work there anyway (no SEH available), so it is not a problem.
tiwag:
--- Quote from: thomas on August 28, 2006, 02:35:43 pm ---The intent is to save everything to a subfolder of "My Files" ( == "Eigene Dateien") and that's what happens on my Windows system, too (at least it did so when I last tested it ~2 months ago, and since disabling CC, I have no crashes, so I cannot tell of late ;)).
--- End quote ---
you don't need a crash to test, what GetHomeFolder() returns,
and i tell you the truth when i say it does not return the path to "My Files" (at the time of writing svn rev 2914)
it returns the base path of the user account, see AND READ my first posting above.
it does not care in which directory the damned files are saved, but the message in the dialog
should name the right directory.
therefore i propose, to print in the dialog message the variable, which already contains
the path to the backup directory.
i'll do the changes if this is agreed by the bosses ...
tiwag
killerbot:
for me it was also in : Docsuments and settings\killerbotcb-crash-recover so when the slash would be inserted it would be a subdir of the top level of my profile (killerbot), which is not something like "My Files" ;-)
thomas:
--- Quote from: killerbot on August 28, 2006, 10:59:58 pm ---for me it was also in : Docsuments and settings\killerbotcb-crash-recover so when the slash would be inserted it would be a subdir of the top level of my profile (killerbot), which is not something like "My Files" ;-)
--- End quote ---
This is "My Files"...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version