Oracle Objects for OLE
Release 9.0.1

Part Number A90173-01

Home

Book List

Contents

Master Index

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.


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents