Results 1 to 1 of 1
  1. #1
    Join Date
    Feb 2004

    Thumbs down Unanswered: sybase connection trouble


    I got one problem. I use ase12.5 and Visuall c++.
    I wrote application server which get sql from client and that works. But when I open connection with db and something do and I can't close her.
    After 25 or 26 connection, my application server and client does not work.
    Here is how I do that. Did I something missed.

    ct_con_alloc(Context, aConnection)

    ct_con_props(*Connection, CS_SET, CS_USERNAME, aUserName, CS_NULLTERM, NULL);

    ct_con_props(*Connection, CS_SET, CS_PASSWORD, aPassword, CS_NULLTERM, NULL);

    ct_connect(*aConnection, Server, CS_NULLTERM);

    ct_close(Connection, CS_UNUSED);
    Last edited by gasa7465; 02-20-04 at 15:01.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts