Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Rogue Wave Component Builder (RCB): Building Your Applications
Rogue Wave web site:  Home Page  |  Main Documentation Page

5.2 Runtime Issues

5.2.1 Statically-linked Applications

Be sure that you have established connectivity between your client and server machines. Ask your system administrator to help set up your computer for access to the servers.

For a statically-linked application, supply the name of the database as the first parameter for the method RWDBManager::database(). Table 3 lists the database name for each supported database.

Table 3: RWDBManager::database() parameters for statically-linked applications

Database Database name

DB2 CLI

DB2CLI

MS SQL Server

MS_SQL

MySQL

MYSQL

ODBC

ODBC

Oracle OCI

ORACLE_OCI

PostgreSQL

POSTGRESQL

Sybase Client-Library

SYBASE_CT

5.2.2 Dynamically-linked Applications

To run a dynamically-linked application, you must meet the requirements described in Section 2.3, "Working With Dynamic Binding."

In addition, supply the name of the access module dynamic library as the first parameter of the method RWDBManager::database(). Table 4 lists the library name for each supported database. The library name extension is given as [dll|so], the first being for Windows, the second being for the Solaris platform. Other UNIX platforms might use a different extension for shared objects

Table 4: RWDBManager::database() parameters for dynamically-linked applications 

Database Library name

DB2 CLI

db2<version><buildtag>.[dll|so]

MS SQL Server

msq<version><buildtag>.[dll|so]

MySQL

mys<version><buildtag>.[dll|so]

ODBC

odb<version><buildtag>.[dll|so]

Oracle OCI

oci<version><buildtag>.[dll|so]

PostgreSQL

pgs<version><buildtag>.[dll|so]

Sybase Client-Library

ctl<version><buildtag>.[dll|so]



Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.