All:
I am evaluating ODAC 6.10. I have just enough of the Oracle 10g client installed to use SQL Plus, which works fine. I'm using BDS 2006.
I am seeing some odd behavior with running a simple Oracle aware app.
First I created a simple C++Builder app. I could run it both in the environment and from Windows Explorer with the environment up. No problems. No errors.
Then I made a Delphi version from scratch. Same simple app. It runs fine in the environment, but outside of the environment, but while the environment is up, I get an general exception that eventually displays a notice saying "Can't initialize OCI". The app does run exactly as expected in the environment, but not outside.
I had previously actually gotten rid of my C++Builder effort. So I recreated it (luckily with BDS this is a <60 second effort!!). After I recreated it, it again works fine in the environment, but outside -- to my surprise -- I see the same error I saw in Delphi. Can't initialize OCI.
The first time I created the C++Builder app, all was fine, inside the IDE and outside. I did not set any fancy settings -- just a basic setup.
Does there need to be a path entry for Oracle in general, and if so, why can I run these apps in the environment? Perhaps its something simple.
Any help appreciated.
C
Can't initialize OCI
I wish I could understand why, but its working now.
I have changed nothing, and have not rebooted.
Up till that point, I had all the data components set to Connected/Active (just screwing around testing stuff). I had since converted everything over to dynamically opening the session and query. I thought this was part of the problem.
Wanting to check it out, I re-converted it back to everything with Connected/Active and it worked.
Oh well.
I'm not terribly bothered by this, but how do I know its not going to happen at some random future point?
Thanks for any input.
C
I have changed nothing, and have not rebooted.
Up till that point, I had all the data components set to Connected/Active (just screwing around testing stuff). I had since converted everything over to dynamically opening the session and query. I thought this was part of the problem.
Wanting to check it out, I re-converted it back to everything with Connected/Active and it worked.
Oh well.
I'm not terribly bothered by this, but how do I know its not going to happen at some random future point?
Thanks for any input.
C