LeGrosBobey
Programmer
Here is my procedure....i'm getting out of a menu form
and want to open a Password(MotPasse) form. it goes this way...no problem opening frmRem but when it comes to frmMotPasse, it crashes. Even if I delete this line :
frmRem:=TfrmRem.Create(self);, it's still crashes on the frmMotPasse creation. By the way the error message is
EAccesViolationError Access violation at address 004546DC in module MDIAPP.exe. Read of adress FFFFFFFF
procedure TfrmPrincipal.btRemorqueClick(Sender: TObject);
begin
frmPrincipal.DestroyWindowHandle;
frmRem:=TfrmRem.Create(self);
frmMotPasse := frmMotPasse.Create(self);
bRemorquage := true;
end;