Link Error with'MYSQLUNIPROVIDER.OBJ'

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
mfbrowne
Posts: 13
Joined: Mon 15 Nov 2010 00:17

Link Error with'MYSQLUNIPROVIDER.OBJ'

Post by mfbrowne » Mon 15 Nov 2010 01:39

Hello,

I am getting the following error when I use the MySQLUniProvider1 in CBuider 2010.

[ILINK32 Error] Fatal: Unable to open file 'MYSQLUNIPROVIDER.OBJ'

I have seen where others have a similar problem with a provider and the solution is to add the provider.lib to the .

However I have searched and do not find a MYSQLUNIPROVIDER.lib file so therefore I do not have anything to add to the AllPackagesLibs.

So I am at loss as to how to solve this problem and I hope someone can assist me.

Thank you

Mike

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

Post by AlexP » Mon 15 Nov 2010 07:43

Hello,

To resolve this problem you should use the myprovider140.lib file.
You should add the myprovider140.lib to or replace the following code:

#pragma link "MySQLUniProvider"
with
#pragma link "myprovider140.lib"

mfbrowne
Posts: 13
Joined: Mon 15 Nov 2010 00:17

[ILINK32 Error] Fatal: Unable to open file 'MYSQLUNIPROVIDER

Post by mfbrowne » Mon 15 Nov 2010 13:31

Thank you this has solved the problem. Appreciate the quick response.

Mike

Post Reply