[Lazarus] ODBC-problems

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Tue Nov 20 13:40:35 CET 2012



On Tue, 20 Nov 2012, Reinier Olislagers wrote:

> On 20-11-2012 12:23, Koenraad Lelong wrote:
>> On 20-11-12 12:13, Koenraad Lelong wrote:
>>> In Win7 64 bit only the system DSN of Firebird works.
>>>
>> Sorry, should be user DSN works, system DSN does not work.
>>
> As you're using 32 bit Lazarus, just to be sure:
>
> please confirm the DSNs you are using are defined in the 32 bit ODBC
> control panel (using 32 bit Firebird ODBC drivers), not the 64 bit ones...
> That error message seems to indicate some bitness mismatch between
> application<>ODBC<>ODBC driver

That's what I wanted to establish. I think it is a problem of 32/64 bit
mismatch, it is not the first time I encounter this on Windows 64-bit. :-)

The best solution IMHO is to work fully in 64-bit:
Firebird
Lazarus
Windows.
and not to attempt mixing things.

Michael.




More information about the Lazarus mailing list