Skip Headers

Oracle® Objects for OLE Developer's Guide
10g Release 1 (10.1)

Part Number B10118-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

Early Binding of OO4O Objects

The early binding technique tightly typecasts OO4O objects to their native object types rather than the generic object type provided by Visual Basic. These objects are declared directly as OO4O objects, rather than as generic objects which are later reclassified as OO4O objects. The early binding technique improves performance by reducing frequent access to the OO4O type library. For example:

'Early binding of OO4O objects

Dim OraSession as OraSession

Dim OraDatabase as OraDatabase

Dim OraDynaset as OraDynaset

'Generic binding of OO4O objects

Dim OraSession as object

Dim OraDatabase as object

Dim OraDynaset as object

In order to use early binding of OO4O objects, the Oracle InProcess Server type library must be referenced in the Visual Basic projects.