OO4O and Delphi 3
From: Richard Willemsen <rwillems_at_xs4all.nl>
Date: 1998/05/16
Message-ID: <355e2198.56934373_at_192.168.0.1>#1/1
Real programmers don't comment their code. It was hard to write, it should be hard to understand.
Richard Willemsen
http://www.xs4all.nl/~rwillems/ Received on Sat May 16 1998 - 00:00:00 CEST
Date: 1998/05/16
Message-ID: <355e2198.56934373_at_192.168.0.1>#1/1
[Quoted] Hi All,
I'm trying to use OO4O in Delphi 3 and I just can not figure out why this is not working:
fOraSession := CreateOLEObject('OracleInProcServer.XOraSession');
fOraDatabase :=
fOraSession.OpenDatabase(fHost, fUserID + '/' + fPassword, 0);
fOraSession and fOraDatabase are declared as variant and fHost, fUserID and fPassword are declared as string.
When executing this I get a EOleSysError exeption with the message 'Member not found'. I tested this using Access97 (in a prototype) and it was working fine.
Did anybody ever experienced this problem and found a solution for it?
grtnx,
Richard
Real programmers don't comment their code. It was hard to write, it should be hard to understand.
Richard Willemsen
http://www.xs4all.nl/~rwillems/ Received on Sat May 16 1998 - 00:00:00 CEST