Question

I have a simple software that is made in Delphi 7, and it crashes on Vista after a while. These are totally random crashes, nothing is written in any crash log, just stops working and then Vista tries to find a solution.

Does anyone have any ideas ?

Was it helpful?

Solution

Try one of the exception catchers, like madExcept. It can often help you find out what is happening inside your app at the time of trouble. In general though Delphi apps are fine in Vista, so there must be some interaction, perhaps user rights, that is causing trouble.

OTHER TIPS

A few ideas:

  • DEP - try disabling DEP for the program an see if it solves the problem
  • ASLR
  • It fails to get access to some resource, gets a NULL pointer (a common way of functions to signal that they failed) and tries to use that (with predictable results)

The best thing would be to run with a debugger (preferably Delphi 7 - it sounds like you have source code) attached and check the exact location of the crash.

just to point out--madExcept has a "hang" detection option that should help.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top