Oracle Objects for OLE
Release 9.2

Part Number A95895-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
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 © 1994, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback