Hi,
I just created a new application with the quoted FormCreate and Button1Click methods.
I tried again and got different errors in different situations.
If I run the application from the Delphi IDE I got AV, on same PC without the IDE
the application freeze and eat CPU resources, on other PC I got Application error message.
I use Delphi 2010 with Update 4,5 and Windows XP SP3.
Now I attach the compiled sample application.
Gabor
'eledh' wrote:
Hi,
I tested your sample code, I also tried another modifications and no problem occured. It works properly without any AV.
AC 7.30, Delphi 2007, Win7.
Did you change anything else that is not in the sample code?