Rad Studio 2010 (Delphi 2010) on Windows 7 (64 bit) laptop.
Im probably going to get alot of negatives on this one, cause 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 my Rad Studio (Delphi) 2010. I have been days trying to figure out why. 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 just a fresh copy of Rad Studio installed i try to write a simple
procedure TForm1.Button1Click(Sender: TObject);
begin
if opendialog1.Execute then
begin
ShowMesage(opendialog1.filename);
end;
end;
It compiles, and it builds just fine without any errors, however, when I run the application and i 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 is 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 i i just create a blank default application without the code, and run it.
Anyone have any suggestions or solutions to my problem?