Page 1 of 1

Problems with UDAC and Delphi2007

Posted: Fri 14 Nov 2008 08:41
by jacek878
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.

Posted: Tue 18 Nov 2008 08:32
by Plash
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.