It's hard to tell w/o seeng your DLL code. Do you issue SQLDISCONNECT() before returning from DLL?
>I´ve been trying to set up an XML Web Service in VFP8 and this workes really great. However I got a problem in my backend, which is a MTDLL and opens a ODBC connection to an SQL server. After calling the DLL 3 or 4 times, the SQLSTRINGCONNECT() command returns an error 1073741819. Seems to be an C0000005, but I don´t know why.
>
>...gerhard...
--sb--