Recent

Author Topic: 64-bit Lazarus on Windows 7 not finding ntwdblib.dll  (Read 15300 times)

spitofland

  • New Member
  • *
  • Posts: 26
64-bit Lazarus on Windows 7 not finding ntwdblib.dll
« on: April 30, 2010, 02:35:06 pm »
I'm running the 64-bit lazarus (0.9.28.2 beta) on a 64-bit Windows 7 machine. I'm trying to use Zeos to access an MSSQL database. When I try to connect to the database I get the error "None of the dynamic libraries can be found: ntwdblib.dll". I placed ntwdblib.dll in the System folder, the System32 folder, and even the SysWOW64 folder. I even placed it in the folder with my project and told the compiler to link to libraries in those folders. Does anyone have any ideas why the compiler refuses to find this file or how to fix it?
Oh, I'm using the latest versions of Zeos. (As of April 30, 2010)
« Last Edit: April 30, 2010, 03:24:58 pm by spitofland »

spitofland

  • New Member
  • *
  • Posts: 26
Re: 64-bit Lazarus on Windows 7 not finding ntwdblib.dll
« Reply #1 on: May 03, 2010, 09:03:04 pm »
I finally found the source of the error, but am still trying to solve the problem. It appears that FPC 2.2.4 for 64-bit windows has a bug that is causing my problem with libraries. I am trying to update the compiler and have been trying all day. The newer IDE's (0.9.29+) do not appear to be stable in 64-bit (or I just found other problems) and I'm having trouble installing the newer compiler under the same IDE.
How can I update the FPC while using the same IDE? It should be easy, but I'm having a lot of trouble.

spitofland

  • New Member
  • *
  • Posts: 26
Re: 64-bit Lazarus on Windows 7 not finding ntwdblib.dll
« Reply #2 on: May 03, 2010, 09:20:40 pm »
I found help updating the compiler:
http://www.lazarus.freepascal.org/index.php/topic,9105.msg44376.html#msg44376

But, this did not create a make.exe file. Since that is an installation problem, I will ask for help under that section.

 

TinyPortal © 2005-2018