Creating a UDF for MySQL in Delphi

2019-02-25 15:05发布

问题:

How do I create a UDF for MySQL using Delphi?

Does anyone have any code templates?

I want the code template to be integrated in Delphi versions(2007 and upper), so I need these templates to be usable with and without Unicode support.

回答1:

For starters, Google reveals:

  • documentation
  • a forum thread
  • an example

You need to create a DLL with a few exported functions, as documented.