- Posts: 72
- Thank you received: 0
- Forum
- CodeTyphon Studio
- Using CT on Windows
- Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..'
×
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
-
Topic Author
- Offline
- Junior Member
-
Less
More
1 year 1 month ago #14105
by superc
Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..' was created 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...
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
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
1 year 1 month ago #14106
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..'
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
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 72
- Thank you received: 0
1 year 1 month ago #14107
by superc
Replied by superc on topic Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..'
the dlls are in the executable directory,
I can't understand what the problem is....
I can't understand what the problem is....
Please Log in or Create an account to join the conversation.
- superc
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 72
- Thank you received: 0
1 year 1 month ago #14108
by superc
Replied by superc on topic Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..'
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.
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
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
1 year 1 month ago #14109
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..'
Yes, it's very strange error
PilotLogic Architect and Core Programmer
Please Log in or Create an account to join the conversation.
- superc
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 72
- Thank you received: 0
1 year 1 month ago #14110
by superc
Replied by superc on topic Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..'
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.
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
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 72
- Thank you received: 0
1 year 1 month ago #14111
by superc
Replied by superc on topic Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..'
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..
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
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
1 year 1 month ago #14112
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..'
Have fun...
PilotLogic Architect and Core Programmer
Please Log in or Create an account to join the conversation.