Page 1 of 1

Error? see detail

Posted: Fri 13 Nov 2009 08:02
by hlbzhx
sample.dpr
---------------------
Application.Initialize;

Application.CreateForm(TfrmDM, frmDM); //data module
frmDM.ConnectDataBase(frmDM.uniConnServer); //connect database

if ( condition ) then
begin
Application.Terminate;
Exit;
end;

Application.CreateForm(TfrmMain, frmMain); //main form

Application.Run;

----------------------------

Why? Report AV error when condition = true

as:
Access Violation at Address 00407252 in module "xxxxx.exe". Read of Address 017F41CC

Posted: Mon 16 Nov 2009 09:24
by Plash
We could not reproduce the problem. Please send to support*devart*com a complete small sample that demonstrates the problem, including the script for creating database objects.