C++ Builder XE ILINK32 Error Providers OBJ
Posted: Thu 13 Mar 2014 10:33
Hello!
Previously, I used UniDAC 4.1.3. Everything was ok. Now install the latest 5.2.7 (25-Feb-2014).
1. Disable runtime packages.
2. Add any provider on the form.
3. Add pragma LIB.
Example:
If TSQLiteUniProvider:
[ILINK32 Error] Fatal: Unable to open file 'LITEPROVIDER150.OBJ'
Without #pragma link "SQLiteUniProvider" the same error.
Without #pragma link "liteprovider150.lib" the same error.
If add lib in project the same error.
Always the same error.
I can't build my project standalone.
IDE: C++ Builder XE
OS: Windows 7 x64
Project: VCL x32
Previously, I used UniDAC 4.1.3. Everything was ok. Now install the latest 5.2.7 (25-Feb-2014).
1. Disable runtime packages.
2. Add any provider on the form.
3. Add pragma LIB.
Example:
If TSQLiteUniProvider:
Code: Select all
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "liteprovider150.lib" // <-- added
#pragma link "SQLiteUniProvider"
#pragma link "UniProvider"
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
Without #pragma link "SQLiteUniProvider" the same error.
Without #pragma link "liteprovider150.lib" the same error.
If add lib in project the same error.
Always the same error.
I can't build my project standalone.
IDE: C++ Builder XE
OS: Windows 7 x64
Project: VCL x32