UNIDAC and DELPHI2007

Hello Guys,
I`ve got strange problem, after installation of UniDAC 1.20 Unicode for Delphi, C++Builder, and RAD Studio 2007, I can`t compile my app. I receive such Exception while compilaton as you can see on the picture.
I have no idea what can cause such behaviour.
Please help me.
BR
Vaalar
exception.jpg
VaalarAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tigin44Commented:
it seem that your application can not find out the bpl library files used for unidac which are dac105.bpl and unidac105.bpl. Check whether these files exists in your machine. Probably they are since you have installed. Then add the path to the library path under Tools/Options/Delphi Options/Library Win32/Library Path
or copy the files under rad studio lib folder.
Regards
0
VaalarAuthor Commented:
Hey tigin,
The lib path is ok as you can see on the scr.
It seems that it`s another problem.
If you have other idea let me know.
BR
Vaalar
lib.jpg
0
tigin44Commented:
H1mm...

go to Project Options/Packages/ there will be a checkbox named "build with runtime packages". Check it and then try to compile
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

VaalarAuthor Commented:
If i check the "build with runtime packages" the compilation goes ok but after it my app isn`t starting. If I start the app after such compilaton using the exe file it shows me the same exception dialog
0
tigin44Commented:
did you try to reinstall the componenet?
0
VaalarAuthor Commented:
yes several times, i have also installed other unidev components to check it but it`s always the same problem.
0
tigin44Commented:
as I understand you get the error messages while your application starting... Can your db connection dll files be corrupt. Check can you connect to the db by means of other ways, oledb, odbc, etc.
0
VaalarAuthor Commented:
If i delete Uni from uses section it`s ok.
I have check it another way. I have created a new project and put there a uniconnection and query. Everything works fine.
I have no idea what can be wrong with my app.
0
VaalarAuthor Commented:
here is the uses section maybe it will help:
uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, DB, Grids, DBGrids, Uni, DBAccess, MemDS, ExtCtrls, jpeg,DateUtils,
  ComCtrls, Menus, RpBase, RpSystem, RpDefine, RpRave, RpCon, RpConDS, RvDLADO,Math,
  CPortCtl, CPort, Mask, DBCtrls, RpRender, RpRenderPDF, Rvcsstd, RvCsData,
  RpConBDE, XPMan, ToolWin, ImgList,INIFiles, StrUtils, rxPlacemnt,scExcelExport;
0
Dagan HooverDeveloperCommented:
Put dac105.bpl and unidac105.bpl in the same folder as the project exe.
0
tigin44Commented:
So then...
Place a new uniconnection object to your project. set parameters and try to connect at design time. If its ok then change the connection of the uni componenets to the new connection object and remove the old uni connection from your application and compile it.. Hope this works
0
VaalarAuthor Commented:
ThievingSix I`ve made it earlier and it changed nothing.
tigin44 - If I put Uni into uses without any component the situation is the same.
I think that Uni module makes some kind of conflict with other uses module. I will try to find it.  
0
Geert GOracle dbaCommented:
When i use Odac (it's a commercial release) the checkbox "build with runtime packages" is off
The .bpl of my Odac are in the Windows/Sytem32 directory

I'm assuming it should be the same for UniDac

Reading all the comments i beleive the compiler/exe can't find the bpl files
or the trial has a bug :<
0
VaalarAuthor Commented:
Ok Guys,
DevArt gave me some test app and It has solved my problem.
It was connected with loading bpl files.
I`m closing question
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.