OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: procedure entry point question

From: Alan (alanwcox.net)
Date: Sun Feb 29 2004 - 07:17:37 CST


Thanks to anyone who was looking at this question. I have resolved the issue myself.

During a prior MySql installation (earlier version) I moved the LibMysql.dll to the WINNT/system32 directory so that it was available throughout the system. After upgrading to a newer version of MySql, all of my programs were of course still using this outdated .dll because I failed to move the new version's .dll to the WINNT/system32 directory.

If I could make a suggestion for the Windows installers, it would be that the newest LibMySql.dll be copied to the system directory to avoid this easily made error.

Thanks.
  ----- Original Message -----
  From: Alan
  To: mysqllists.mysql.com
  Sent: Saturday, February 28, 2004 5:07 PM
  Subject: procedure entry point question

  Hello,

  I'm working with MySql 4.0.18 on Windows2000 and have a question about the C API function mysql_real_escape_string( ).

  The program I'm working on compiles and links flawlessly, but at runtime, I get a system pop-up with the error: "The procedure entry point mysql_real_escape_string could not be located in the dynamic link library LIBMYSQL.dll." This is the case whether I compile the program using Cygwin or MSVC, and so far only occurs when I include this one function call.

  I am hoping that there is just different .dll that I need to download to solve this problem.

  Any help would be appreciated.
  Thanks

  __________________________________________________________________

  ICQ#: 135430808
        Current ICQ status:
  + More ways to contact me
  __________________________________________________________________