I send you this question because we had a problem with connect to Oracle 8i Lite (4.0.1) and Oracle 8i Server (8.1.6) in the same machine and in the same application.
We had use an "exe" to connect to oracle 8i Server and a "dll" to connect to OraLite. The problem was the oci.dll's 8.1.5 is diffent than oci.dll's OraLite.
To resolve this problem we have modificated a dll (editing a compiled code) and change the voice "ORACLE_HOME" in "ORA8iL_HOME", which in a new voice in the registry (hkey_local_machione\software\oracle)the point to a directory ("d:\oracle\ora8iLite") where there is a client of OraLite (with your oci.dll).
With this solution the program run, but is sensitive of change version of DOA.
This solution si not very smart, but is correct?The optimus is to have a documentation for change it in delphi code.
Thanks for all, Massimo.