Page 1 of 1

Link Error with'MYSQLUNIPROVIDER.OBJ'

Posted: Mon 15 Nov 2010 01:39
by mfbrowne
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

Posted: Mon 15 Nov 2010 07:43
by AlexP
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"

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

Posted: Mon 15 Nov 2010 13:31
by mfbrowne
Thank you this has solved the problem. Appreciate the quick response.

Mike