In this video you can see how to embed .net assemblies in InterBase 2007. Write a .net Assembly with Delphi for Microsoft .NET, and run the function as a UDF in InterBase 2007.
http://www.better-office.com/videos/IBAndDotNet/RunningNetAssembliesIB2007.html
42 Minutes (130MB)
Have fun and happy coding!
Daniel Magin
CTO better office