Page 1 of 1
Problem SQLiteUniProvider
Posted: Tue 24 May 2011 07:05
by cerberus2010
When I create a new project in Rad studio XE, I use UniConnection and SQLiteUniProvider, but when I compile the project, I get the Error :[ILINK32 Error] Fatal: Unable to open file 'SQLITEUNIPROVIDER.OBJ'.
my code in the *.cpp
Code: Select all
#include
#pragma hdrstop
#include "uTest.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "DBAccess"
#pragma link "MemDS"
#pragma link "SQLiteUniProvider"
#pragma link "Uni"
#pragma link "UniProvider"
#pragma resource "*.dfm"
TForm1 *Form1;
[/code]
best regards
Posted: Tue 24 May 2011 10:59
by AlexP
Hello,
To work with SqliteUniProvider d C++ Builder, you must change the following code:
#pragma link "SQLiteUniProvider"
to
#pragma link "liteprovider150.lib"
The same is true for the rest of the providers.
Thank You
Posted: Thu 26 May 2011 04:38
by cerberus2010
THX
Posted: Thu 26 May 2011 05:39
by AlexP
Hello,
If any other questions come up, please contact us.
Posted: Fri 23 Sep 2011 09:58
by gunslinger
Same problem. But after replacing
#pragma link "SQLiteUniProvider"
to
#pragma link "liteprovider150.lib"
I get next error:
[ILINK32 Error] Fatal: Unable to open file 'LITEPROVIDER150.LIB'
P.S.: IDE - C++ Builder 2007 (CodeGear RAD Studio 11.0).
Posted: Fri 23 Sep 2011 10:19
by AlexP
Hello,
You should use the following liteprovider105.lib file for Rad Studio 2007:
Code: Select all
#pragma link "liteprovider105.lib"
Posted: Fri 23 Sep 2011 11:38
by gunslinger
Thank you very much. It works now.
Posted: Fri 23 Sep 2011 11:54
by AlexP
Hello,
It is good to see that this problem was solved. If you have any other questions, feel free to contact us.
Posted: Wed 28 Sep 2011 05:44
by MamProblem
Hi!
Is there any way to avoid replacing or inserting '#pragma xxx.lib'? I need to do that with every project I start
Posted: Wed 28 Sep 2011 09:17
by AlexP
Hello,
It seems to be a RAD Studio bug. The installed package should be automatically added to the default list of included packages when you create a new project, but it doesn't always happen.
We are trying to resolve the problem.
For the time being you should change these lines in every new project.
Posted: Wed 28 Sep 2011 09:35
by MamProblem
Ok, thanks for the info.