Error? see detail

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
hlbzhx
Posts: 19
Joined: Tue 03 Nov 2009 03:29

Error? see detail

Post by hlbzhx » Fri 13 Nov 2009 08:02

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

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 16 Nov 2009 09:24

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.

Post Reply