Delphi – application defined exception – no idea what is wrong

delphiexception

can somebody help me out with this error

enter image description here

Project1.exe faulted with message: 'application-defined exception (code 0xc0000008) at 0x7c90e4ff'. Process Stopped. Use step or Run to continue.

Using Delphi 7 on Win XP. Installed are ony default original Delphi 7 components. I have only a button and opendialog component on my new fresh project. I am using just one line of code in ButtonClick procedure

OpenDialog1.execute;

when this warning on picture occurs. Open dailog shows up for milisecond then Delphi error is reported before I can choose anything from open dialog.

What could be wrong? This behaviour is new, because I used opendialog before without problems.

TIA

P.S.
Program runs OK outside of Delphi IDE.

P.P.S.
I deinstalled GExperts, DelphiSpeedUp but problem remains.

Best Answer

Looking around online, I see that this error seems to happen every now and then. I don't know the real reason, but it seems to be related to the debugger. I'd guess it is some kind of obscure debugger bug that only happens when many different things come together.

FWIW, I've seen reports from D4 to D7 and even D2006. It seems to be gone in higher versions, although that is not sure.

The more reports I see, I notice it always seems to happen in the Delphi debugger. More evidence that it is the debugger, IMO. If that is the case, there is not much you can do.