4 messages in com.mysql.lists.plusplusRe: Run time error - un-resolved mysq...
FromSent OnAttachments
Doron Betel26 Aug 2003 16:17 
Sinisa Milivojevic27 Aug 2003 04:33 
Support MyQry Generator27 Aug 2003 11:02 
Sinisa Milivojevic28 Aug 2003 04:27 
Subject:Re: Run time error - un-resolved mysql_connect
From:Sinisa Milivojevic (sin@beotel.yu)
Date:08/27/2003 04:33:44 AM
List:com.mysql.lists.plusplus

On Tue, 26 Aug 2003 19:18:04 -0400 Doron Betel <bet@mshri.on.ca> wrote:

Hi, I'm trying to develop a mySQL application in C++ using MSVC++ 6.0. I have mysql++.lib compiled in the Debug single-threaded mode. My application is also compiled in the same mode. However when I run the application I get an "Entry Point Not found" error with the following message: "The procedure entry point mysql_connect could not be located in the dynamic link library LIBMYSQL.DLL"

I explicitly set the project to ignore libmySQL.dll and link to the static libmySQL.lib. However, this error occurs regardless to the ignore libmySQL.dll settings.

My PATH env. variable is pointing to the mysql\bin directory which contains a copy of mysql.dll. According to the run-time messages posted by MSVC++ this copy of mysql.dll is loaded and no matching symbols are found. So why is it that it cannot resolve the mysql_connect call? Any explanations ?

Thanks for the help

Doron

You should check out whether that .lib is just a link to .dll or whether it
contains all functions.

Sincerely,