From:             [EMAIL PROTECTED]
Operating system: Win32
PHP version:      4.0.4pl1
PHP Bug Type:     Sybase-ct (ctlib) related
Bug description:  memory fault after sybase_connect

memory fault after sybase_connect

in order to connect to sybase server with PHP4 and Sybase openclient 11.1.1, you need 
to change some lines in php_sybase_ct.c

all sybase message handler must be declared with CS_PUBLIC :

CS_RETCODE CS_PUBLIC _client_message_handler(CS_CONTEXT *context, CS_CONNECTION 
*connection, CS_CLIENTMSG *errmsg)


CS_RETCODE CS_PUBLIC _server_message_handler(CS_CONTEXT *context, CS_CONNECTION 
*connection, CS_SERVERMSG *srvmsg)

please change these lines.

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to