Directory service example program

The directory service example program, usedir.c, queries a directory service for a list of available servers.

usedir.c searches for Sybase server entries in the default directory, as defined in the driver configuration file. If a network directory service is not being used, usedir.c queries the sql.ini file for server entries. Then it displays a description of each entry found and lets the user choose a server to connect to.

For more information about this example program, see the leading comments in the example source file. For more information about directory services, refer to the Open Client and Open Server Configuration Guide for Microsoft Windows.