Page 1 of 1

codegear XE2 [ILINK32 Error] Unable to open file 'MYSQLUNIPROVIDER.OBJ"

Posted: Sat 30 Mar 2013 08:54
by claveljr
I use c++ of Codegear XE2, I added the component TUniConnection, but in compilation, the message appeared "MySql provider is not registered. Yo Should add the MySQLUniProvider Unit to the uses clause of anu unit in your project or place the TMySQLUniProvider component on the form"
then, I added the TmySQLUniProvider component in my form. but the following error appeared:
" MySQLUni[ILINK32 Error] Unable to open file 'MYSQLUNIPROVIDER.OBJ' "


can Somebody help me? today I bought the product

Re: codegear XE2 [ILINK32 Error] Unable to open file 'MYSQLUNIPROVIDER.OBJ"

Posted: Sat 30 Mar 2013 10:57
by sandy771
Add the following to unit1.cpp

#pragma link "myprovider160.lib" (I think its 160 for XE2)

Re: codegear XE2 [ILINK32 Error] Unable to open file 'MYSQLUNIPROVIDER.OBJ"

Posted: Mon 01 Apr 2013 05:23
by claveljr
thanks, the compilation was successfull, but my UniQuery don't execute queries
"Access Violation at address 1FD35DE6. read of address 1FD35DE6"

thanks.

Re: codegear XE2 [ILINK32 Error] Unable to open file 'MYSQLUNIPROVIDER.OBJ"

Posted: Mon 01 Apr 2013 07:43
by AlexP
hello,

For the time being, you indeed need to replace the line

Code: Select all

#pragma link "MySQLUniProvider";
with

Code: Select all

#pragma link "myprovider160.lib"
We have already fixed this problem, the fix will be included to the next UniDAC version

We know about the problem with AV in ะก++ Builder and are working on the solution

Re: codegear XE2 [ILINK32 Error] Unable to open file 'MYSQLUNIPROVIDER.OBJ"

Posted: Wed 03 Jul 2013 08:03
by radomir23
in 5.0.1 for bc++2010 is fixed this problem ?

thank you

Rado

Re: codegear XE2 [ILINK32 Error] Unable to open file 'MYSQLUNIPROVIDER.OBJ"

Posted: Wed 03 Jul 2013 11:35
by DemetrionQ
Yes, the "Unable to open file 'MYSQLUNIPROVIDER.OBJ" problem was fixed in UniDAC 5.0.1.

Re: codegear XE2 [ILINK32 Error] Unable to open file 'MYSQLUNIPROVIDER.OBJ"

Posted: Wed 03 Jul 2013 11:56
by radomir23
DemetrionQ wrote:Yes, the "Unable to open file 'MYSQLUNIPROVIDER.OBJ" problem was fixed in UniDAC 5.0.1.


please please HELP MY
http://forums.devart.com/viewtopic.php?f=5&t=27446

B.R Rado

Re: codegear XE2 [ILINK32 Error] Unable to open file 'MYSQLUNIPROVIDER.OBJ"

Posted: Wed 03 Jul 2013 13:37
by AlexP
Hello,

This problem is fixed at the "build with runtime packages" option enabled only