CacheAddConnection( cNamespace ) -> hConnection

The function attempts to connect to the Cache Server and returns the connection handle if successful, otherwise 0. The returned connection handle is used for all subsequent Caché specific function. The most recent call to this function sets the current connection handle. To set another connection handle as current connection, CachéSetConnection() function must be called. If no connection handle is supplied to subsequent Caché specific functions, the current connection handle is used as default. Forr RDD methods this default is used while DbUseArea() and DbCreate() functions are called if no connection handle is passed to the function. All subsequent RDD methods will use connection handle established with work area at the time of opening the table.

Before calling this function, you need to issue CachéSetServerParams() as CachéAddConnection() fetches all other values off this function stack.