HELP! D1/MSSQL 6.5 General SQL Error

Hi everybody,

I'm using D1/MSSQL SQL with service pack 4 an TCP/IP.
My application contains many executables, which are called via winexec
a main application.
When I try to call any exe from then main one, I get a General SQL
An interesting point is that this started to happen only when I needed
to install
the MS client dll. If  I use named pipes with borland w3bdlib,
everything works fine.
Even using named pipes but with MS w3bdlib, General SQL Errors occur.

Can anyone help me?

Fernando A. Paulo