Forum
× CodeTyphon MS Windows (XP, Vista, Win7, Win8.x and Win10) OS Development, discussions and problems

Question Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..'

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
2 weeks 2 days ago #14105 by superc
Hello,

my configuration:

Typhon 6.9 r61812 FPC 3.3.1 r42912 Platform : x86_64-win64-win32/win64

I've develop an application can connect without problem to Sqlserver 2014:
I use Zeos with protocol 'FreeTDS_MsSQL>=2005' and I set library location with current executable directory, and works fine:
I downloaded from ' www.freetds.org/software.html ' the precompiled dll 1.1.21 of Freetds.

From another pc in production I copied executable and all directory and run program but receive this error:
'Client-Library .....dblib.dll' found but could not be loaded. Check compile-target and library compatibility'....
I'm using the same library, the pc is the same Windows 10 64 Bit and I installed codetyphon 6.90 in this machine and I try to recompile,
but nothing of nothing... same error...


I'm really frustrated...

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 weeks 2 days ago #14106 by Sternas Stefanos
I think the problem is in FreeTDS library registration or security permissions

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
2 weeks 2 days ago #14107 by superc
the dlls are in the executable directory,
I can't understand what the problem is....

Please Log in or Create an account to join the conversation.

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
2 weeks 2 days ago #14108 by superc
But, in production pc with Codetyphon 32 bit, Freetds 32 bit dll, program works fine.....
On my pc both version works well, but if i move 64 bit dll from my pc to production pc I receive the error....
It's very strange error.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 weeks 1 day ago #14109 by Sternas Stefanos
Yes, it's very strange error

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
2 weeks 1 day ago #14110 by superc
ok, I can't afford such behavior in production programs, what kind of connection could I use alternatively?
I have seen that the zeos 7.3 support the ado, odbc, my target database is sql server 2014...
Thanks in advance.

Please Log in or Create an account to join the conversation.

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
2 weeks 1 day ago #14111 by superc
I have resolved this problem!!!!!


With the walker dependency I saw the missing dependency ie the MSVCR100.DLL present in Microsoft visual C ++ 2019 Red Pack x64; installed this package and the program work..

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 weeks 1 day ago #14112 by Sternas Stefanos
Have fun...

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.