Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Oct : Modeless dialog problem

www.cryer.info
Managed Newsgroup Archive

Modeless dialog problem

Subject:Modeless dialog problem
Posted by:"Robert Greborio" (greboriorobe..@eurofasteners.com)
Date:Thu, 13 Oct 2005 17:51:12 +0200

I'm using a DLL containing a Form and from this DLL I use a modeless
dialogbox.

The modeless dialog close using OnClose event
  Action:=caFree;
  Form2:=Nil;

If I close the Form1 (DLL) with FreeAndNil(Form2) I receive an Access
Violation error!!

Why??

Tks for you help.
Robert

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive