Subject | Re: [firebird-support] Firebird UDF |
---|---|
Author | Martijn Tonies |
Post date | 2006-11-21T14:50:54Z |
> I've write the following function inside a dll delphi"string" will never work! It's a Delphi type.
>
> << BEGIN FUNCTION >>
>
> function Get_Age(Born,Limit : TDate) : String;
You need to use PChar.
Have you tried any of the "how do I write UDFs for Firebird/InterBase"
documents on the web?
Martijn Tonies
Database Workbench - development tool for Firebird and more!
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com