Hi,

the GET_ATTRIBUTE command can generate GPF's really easy

Get_Attribute DF_DRIVER_SQLSERVER_CLIENT_VERSION of iDriver to iClientVersion


if iDriver is 0, all hell breaks loose.

Should not GET_ATTRIBUTE check that %3 is Not Zero?