Hi all.
If I call the following:
  with TForm1.Create(nil) do
  try
    ShowModal;
  finally
    free;
  end;

Later on, when I close the mainform (the caller for above) I get this error:
'Exception EAccessViolation in module back4winxp.exe at FFFFF018
Access violation at address 00000018. Read of address 00000018'

Other forms called by showmodal in the same program do not do this.

There are no strings or other dregs that appear to be initiated in TForm1.

Any ideas? If not, can please tell how to debug where this error may be coming
from as stepping through the form close does not raise it.
Thanks,
Alistair+

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to