IElite
IElite

Reputation: 1848

Issue with Rad Studio - Delphi 2010 IDE

Rad Studio 2010 (Delphi 2010) on Windows 7 (64 bit) laptop.

I'm probably going to get a lot of negatives on this one, because I just can't seem to figure out how to word the question title or the question itself......but here it goes

I started to get some issues with my code not running within Rad Studio (Delphi) 2010.

I have been trying to figure out why for several days, working with one installed package after another, trying to decide if it was the culprit or not. After finally uninstalling all packages, and even uninstalling the entire Rad Studio (and re-installing just Rad Studio), I can't seem to figure what can be causing my Delphi IDE to act as it does. I even cleaned the registry of all things related to my component package and Rad Studio (before re-installing just Rad Studio).

Ok, with a fresh copy of just Rad Studio installed I tried to write a simple

procedure TForm1.Button1Click(Sender: TObject);
begin
 if opendialog1.Execute then
 begin
   ShowMesage(opendialog1.filename);
 end;
end;

It compiles and builds without any errors, however, when I run the application and click on the button, I get the following message:

Project1.exe has stopped working A problem caused the program to stop working. Windows will close the program and notify you if a solution is available.

When I click the Close Program button, I get nothing, it just returns to the Delphi 2010 IDE.

If I compile it, I can run the executable.

This has really become a serious issue for me, since I can no longer run or debug code in my IDE without this coming up.

This does not happen if I just create a blank default application without the code, and run it.

Anyone have any suggestions or solutions to my problem?

Upvotes: 2

Views: 2475

Answers (1)

Warren  P
Warren P

Reputation: 68852

So you have NO third party components or units in any uses clauses?

You tried disabling all anti-virus and malware scanning software temporarily?

Do you have anything like MadExcept or EurekaLog installed? If so, remove them.

If none, then install MadExcept. It will catch exceptions both inside the IDE and inside the target applications.

Secondly, try renaming this registry key:

HKEY_CURRENT_USER\Software\Embarcadero\BDS\8.0

Rename it to something like:

HKEY_CURRENT_USER\Software\Embarcadero\BDS\8.0_OLD

Next time you run Delphi 2010, your local-user registry configuration section will be regenerated, and reset to installation-fresh defaults.

Upvotes: 1

Related Questions