Click here to Skip to main content
15,888,301 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I am developing a C# application using Visual Studio 2008. The development is using Windows XP SP 3.

My problem is with the generic "has stopped working" window that comes up in Windows 7; the one that does not offer any information! I tried using the Compatibility Wizard or whatever, but that report's "details" is the application name and development platform.

I think there may be an obscure missing DLL somewhere, and had it been Windows XP I would know exactly which one.

Does anyone know of a way to figure this out?

Thanks,
Adam
Posted

I think your exception is being buried somewhere inside your code.
You need to raise it in order to get more information about what's happening.

Please take a look here.[^]
 
Share this answer
 
Comments
ahiggins1986 12-Jul-10 13:16pm    
No, my program doesn't even begin to run when the error occurs. I added in an Application.ThreadException event to no avail.
Have you tried changing the default debugger [^], automatically launch the debugger[^] or even remote debugging to help you get more information on what in happening?
 
Share this answer
 
This happened to me, and it's because my main thread stopped for a moment, while the system loaded some videos. It's really a bug in Windows 7, in my opinion, the app works fine sometimes, and other times does not, but it works fine on every other OS. Try to figure out if your app takes a while to do something on startup ( in my case, it was a WPF databinding command that takes a while to finish ) and see if you can make the process more manual, so that Win7 recognises that your process is working.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900