Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-08

Zeos, Win 7 (64-bit) e SQLServer 2008: None of the dynamic libraries can be found: ntwdblib.dll

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marcos Douglas

Hi,

Someone here has already developed an application using Zeos, Win 7 (64-bit) and SQLServer 2008?
My application runs perfectly on WinXP, but gives error when I try to connect on the database:
"None of the dynamic libraries Can be found: ntwdblib.dll."

Has anyone gone through this:
http://lazarus.freepascal.org/index.php?topic=9296.0

... but no solution.

And I think that Zeos is no problem, but Windows:
http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/db-app-backward-compatibility-with-windows-7/849dc349-274e-43d8-99f9-955d50174851

Does anyone have any tips?

Marcos Douglas

Reply by email

Santiago A.
to Marcos Douglas

El 31/08/2011 22:46, Marcos Douglas escribi?:

Show quoted text 7 lines
Hi, Someone here has already developed an application using Zeos, Win 7 (64-bit) and SQLServer 2008? My application runs perfectly on WinXP, but gives error when I try to connect on the database: "None of the dynamic libraries Can be found: ntwdblib.dll."

First:
Does ntwdblib.dll exist and is in the path?

Second:
To be honest I don't know if there it is a compatibility problem, but I would try this:

Make sure dlls and lazarus executable are for the same processor. My hypotesis (don't know, just to try) is that If the lazarus target is 64-bit,it may have problems when linking with 32-bit Libraries. Or the other way around. Lazarus target 32-bit and libraries 64-bit.

Show quoted text 17 lines
Has anyone gone through this: http://lazarus.freepascal.org/index.php?topic=9296.0 ... but no solution. And I think that Zeos is no problem, but Windows: http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/db-app-backward-compatibility-with-windows-7/849dc349-274e-43d8-99f9-955d50174851 Does anyone have any tips? Marcos Douglas -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Saludos Santi

Reply by email

Marcos Douglas
to Santiago A.
Santiago A. wrote 11 lines
El 31/08/2011 22:46, Marcos Douglas escribi?: > Hi, > > Someone here has already developed an application using Zeos, Win 7 > (64-bit) and SQLServer 2008? > My application runs perfectly on WinXP, but gives error when I try > to connect on the database: > "None of the dynamic libraries Can be found: ntwdblib.dll." First: ?Does ntwdblib.dll exist and is in the path?

Yes, together with the exe.

Show quoted text 8 lines
Second: To be honest I don't know if there it is a compatibility problem, but I would try this: Make sure dlls and lazarus executable are for the same processor. My hypotesis (don't know, just to try) is that ?If the lazarus target is 64-bit,it may have problems when linking with 32-bit Libraries. Or the other way around. Lazarus target 32-bit and libraries 64-bit.

I think there is not ntwdblib.dll to 64-bit, see this: http://dbaspot.com/ms-sqlserver/219870-dblib.html#post912430

I'm thinking to use SQLdb with ODBC...
http://wiki.lazarus.freepascal.org/ODBCConn

Marcos Douglas

Reply by email