[fpc-devel] ODBC

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Jan 14 15:58:41 CET 2010


On 12 Jan 2010, at 19:12, Thomas Nelson wrote:

> I seem to have come across a minor problem and don’t know how to fix it.
> 
> Utilizing the \examples\odbc\testodbc.pp module with FPC 2.2.4 everything compiles fine
> 
> When I upgraded to FPC 2.4.0 I get an error message (please see attached screen shot)
> 
> Which says “Import Library not found for ODBC” – this results in a fatal error.

Try using the odbcsqldyn unit instead of the odbcsql unit. In r13495, a {$linklib odbc} statement was added for the latter unit, which presumably requires the presence of an import library on Windows.


Jonas


More information about the fpc-devel mailing list