SQLite - UDF with Delphi

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
fripsy
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 15.10.2009, 11:09
Location: Cannes

SQLite - UDF with Delphi

Post by fripsy »

Hi All,

I'm trying to create a UDF for SQLite3 with Zeos 6.6.1 Beta in Delphi 7.
I've searched this forum and found these threads:

http://zeos.firmos.at/viewtopic.php?t=1746
http://zeos.firmos.at/viewtopic.php?t=1669

but due to the lack of knowledge on my part, I can't find a way to make this work.

I would like to implement a UDF to be able to search the db for "exotic" characters (like é, è ô, ...) with the standard ASCII chars (e, o, ...).

If someone could point me in the right direction this would be very helpfull.

Thanks,
Frank
fripsy
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 15.10.2009, 11:09
Location: Cannes

Post by fripsy »

After searching for hours I managed to get the right syntax to start testing....

But, sadly, the "GetPlainDriver.CreateFunction" always returns "SQLITE_MISUSE" as the function itself isn't implemented...

Will now investigate the latest stable Zeos source to see if it is implemented there...

Stay tuned.

....

In 6.6.5 stable it isn't either...
oblossom
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 07.06.2010, 01:54
Location: makassar
Contact:

Post by oblossom »

thanks :)
DremLIN
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 06.10.2010, 02:43

Post by DremLIN »

It's working?

Please give me working example for use UDF with Zeos & SQLite.
Post Reply