<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I 've written a C spi function that connects to a base, retrieves some geometries and does some proccessing on them. Everything is Ok so far.</font>
<br><font size=2 face="sans-serif">The problem occurs when in my processing algorithm I try to use some Postgis functions (such as "x_point" or "make_oneobj_geometry"). I manage to link my code with postgis export library but I can't figure out why my CREATE FUNCTION statement fails !</font>
<br>
<br><font size=2 face="sans-serif">here is the error I get when I try to create the function :</font>
<br>
<br><font size=2 face="sans-serif">ERROR:  could not load library "/home/bsimon/functions/MyFunc.dll": dlopen: Win32 error 126   (I use cygwin)</font>
<br>
<br><font size=2 face="sans-serif">Any ideas ??</font>
<br>
<br><font size=2 face="sans-serif">B.S</font>
<br>
<br>