i have a console program. at some screen when it needs to display, then an error comes as "Resetting file Thumbs.db" and the console window closes. how to solve this error. please help
If thumbs.db is a system file, try changing the properties so it's not. If it's an empty file, then delete it. Also, if you run your program while Windows Explorer has the same folder open, there may be a file access conflict.