[Lazarus] Accessing MS SQLServer database from Lazarus/FPC?

Bo Berglund bo.berglund at gmail.com
Mon Jan 24 09:35:50 CET 2011


On Mon, 24 Jan 2011 10:26:14 +0200, Graeme Geldenhuys
<graemeg.lists at gmail.com> wrote:

>Op 2011-01-24 09:57, Andreas Schneider het geskryf:
>> That  probably  won't work and will only cause trouble. He is probably
>> using  the  LCL counterpart to sqldb (lazsqldb or however it's called)
>
>Ah, good point. I always use the database components directly from FCL,
>so this does work in my cause though.
>

Pray:
exactly how do you do this? What ia FCL?
What would be the procedure be for someone who has installed FPC from
the binary distribution and downloaded the corresponding FPC sources
to a directory, which has been configured in lazarus?

I have not yet learned these tools (lazarus, fpc) fully because I am
still avaluating them, so I have installed the FPC 2.4.2 release
binary package and used svn to get the fixed lazarus. Therefore I have
learned how to rebuild lazarus, but not FPC.
Must one really rebuild the *compiler* to make a simple source change
in a peripheral component work in a single lazarus project?

My evaluation involves the following:
- Possibility to transfer code from Delphi 7
- GUI application compatibility (simple graphics and listview
handling)
- Handling of serial ports
- Database functionality
- Cross-compilation for the embedded ARM platform
- etc

I am currently stuck in the database evaluation because the SQLdb
component does not allow returning records from an EXEC call into an
MSSQL Server database engine. This is what this is all about fixing.

-- 

Bo Berglund
Developer in Sweden





More information about the Lazarus mailing list