As an additional note, I believe it could have something to do with the fact that the input parameters are nil and the output parameters are assigned.
I'm going to try and see if passing in a dummy input parameter will help to provide a workaround. I say this because elsewhere I use this without any problems and I am passing in both input and output structures. Thanks, Jason LeRoy Wharton www.ibobjects.com ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel