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

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
claveljr
Posts: 4
Joined: Sat 30 Mar 2013 08:40

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

Post by claveljr » Sat 30 Mar 2013 08:54

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

sandy771
Posts: 194
Joined: Tue 22 May 2007 13:57

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

Post by sandy771 » Sat 30 Mar 2013 10:57

Add the following to unit1.cpp

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

claveljr
Posts: 4
Joined: Sat 30 Mar 2013 08:40

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

Post by claveljr » Mon 01 Apr 2013 05:23

thanks, the compilation was successfull, but my UniQuery don't execute queries
"Access Violation at address 1FD35DE6. read of address 1FD35DE6"

thanks.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

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

Post by AlexP » Mon 01 Apr 2013 07:43

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

radomir23
Posts: 18
Joined: Thu 19 Apr 2012 06:04

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

Post by radomir23 » Wed 03 Jul 2013 08:03

in 5.0.1 for bc++2010 is fixed this problem ?

thank you

Rado

DemetrionQ
Devart Team
Posts: 271
Joined: Wed 23 Jan 2013 11:21

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

Post by DemetrionQ » Wed 03 Jul 2013 11:35

Yes, the "Unable to open file 'MYSQLUNIPROVIDER.OBJ" problem was fixed in UniDAC 5.0.1.

radomir23
Posts: 18
Joined: Thu 19 Apr 2012 06:04

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

Post by radomir23 » Wed 03 Jul 2013 11:56

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

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

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

Post by AlexP » Wed 03 Jul 2013 13:37

Hello,

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

Post Reply