Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Why using Oracle Objects for OLE 2.0 from Delphi 2.0 doesn't work ?

Why using Oracle Objects for OLE 2.0 from Delphi 2.0 doesn't work ?

From: ovidiu <ovidiuscripa_at_pentapro.ro>
Date: 1997/10/30
Message-ID: <EIv2Dn.A2H@nonexistent.com>#1/1

Pls. could someone tell me why this code doesn't work :

var
  OraSession : Variant;
  OraDatabase : Variant;
begin
  OraSession := CreateOleObject('OracleInProcServer.XOraSession');   OraDatabase := OraSession.OpenDatabase('MyDB', 'scott/tiger', 0);

At the last line I get the error : " project raised exception class EOleSysError with message 'Member not found'.

Something similar in VB 5 works OK.

Thank you. Received on Thu Oct 30 1997 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US