One thing that just came to me is writting a c wrapper, but don´t put it on a DLL. Instead compile it into a object files, and link them. This way I have the portability of a c wrapper, but I don´t need external DLLs =) -- Felipe Monteiro de Carvalho