Re: Detecting broken connection to Sybase server.



Oops. Please forgive me carelessness.

It should be

CS_INT status = CS_CONSTAT_DEAD;
ct_con_props(m_pDatabase->pCnx, CS_GET, CS_CON_STATUS,
&statusm CS_UNUSED, NULL);

Now it works.

Thanks!

.