MySQL Forums
Forum List  »  General

MySQL UDF and DLL
Posted by: Eric BENARD
Date: September 19, 2011 02:13AM

Hi,

Finally, after many hours to try to build DLL under cmake/Borland, Borland, Visual Studio Express with the help of some articles on net like,

http://rpbouman.blogspot.com/2007/09/creating-mysql-udfs-with-microsoft.html
http://groups.google.com/group/mysql-udf-repository/web/creating-and-compiling-udfs-using-microsoft-visual-studio-express
http://jeffbeard.org/2011/04/mysql-udf_median-on-windows/

I success to compile one sample ( the example of one article "lib_mysqludf_udf.dll" ). So nice.

But I expected to build DLL from http://mysql-udf.sourceforge.net, but no way, I am blocked because when I build DLL: no functions are inside the DLL, and I finally have mysql error when I try to declare the function,

CREATE AGGREGATE FUNCTION median RETURNS REAL SONAME 'udf_median.so';

-> Error (something like): Can't find function 'median' in 'median.dll'


So, my questions,

- Is there a way to obtain directly DLL of functions of mysql-udf.sourceforge.net ?

- After many search on google, I didn't find: is-there a repository of UDF functions, with statistical functions, (with compiled DLL ?) ? (I already know www.mysqludf.org)


Thanks for answers,


Eric.

Options: ReplyQuote


Subject
Written By
Posted
MySQL UDF and DLL
September 19, 2011 02:13AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.