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

4.2 Runtime Issues

This section discusses some common issues that can occur at runtime.

4.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
Microsoft SQL Server MS_SQL
MySQL MYSQL
ODBC ODBC
Oracle OCI ORACLE_OCI
PostgreSQL POSTGRESQL
Sybase SYBASE_CT

4.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 first library name entry applies to Windows platforms, the second to UNIX platforms. The UNIX library extension depends on the platform.

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

Database Library name
DB2 CLI db2<ver><buildtag>.dll
libdb2<ver><buildtag>.[so|sl|a]
Microsoft SQL Server msq<ver><buildtag>.dll
MySQL mys<ver><buildtag>.dll
mys<ver><buildtag>.[so|sl|a]
ODBC odb<ver><buildtag>.dll
odb<ver><buildtag>.[so|sl|a]
Oracle OCI oci<ver><buildtag>.dll
oci<ver><buildtag>.[so|sl|a]
PostgreSQL pgs<ver><buildtag>.dll
pgs<ver><buildtag>.[so|sl|a]
Sybase ctl<ver><buildtag>.dll
ctl<ver><buildtag>.[so|sl|a]]


Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.