Problems with UDAC and Delphi2007

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jacek878
Posts: 11
Joined: Fri 14 Nov 2008 08:08

Problems with UDAC and Delphi2007

Post by jacek878 » Fri 14 Nov 2008 08:41

Hello Guys,
I have strange problem, I have installed the trial version of UniDAC 1.20 Unicode for Delphi, C++Builder, and RAD Studio 2007.
I tried to use it with my app, but if I compile the app I`ve got such Exception:

ImageImage

I have tested and problems occure after I used the module Uni, even if I don`t use any of UDAC components

I have checked the library and it`s ok as you can see in scr

ImageImage

I have copied the files dac105.bpl and unidac105.bpl into my app folder.
I have checked the system folder, and files are present and i haven`t got any other ideas how to solve my problem.

I need to say that if I use a new project in delphi with clean form everything works ok.

Please help me becouse I would like to purchase it, you have made a really fine job.

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

Post by Plash » Tue 18 Nov 2008 08:32

Please create a test application with a button and the following code:

Code: Select all

procedure TForm1.Button1Click(Sender: TObject);
var
  Handle1, Handle2: THandle;
begin
  Handle1 := LoadLibrary('dac105.bpl');
  if Handle1 = 0 then
    ShowMessage('dac105.bpl is not loaded');
  Handle2 := LoadLibrary('unidac105.bpl');
  if Handle2 = 0 then
    ShowMessage('unidac105.bpl is not loaded');
end;
Tell us if this application can load the libraries.

Post Reply