There is intrestiong BUG in DOA 4.0.7:
TOracleDatabase connects to DB from design-time, but in run-time excepts message:
"ORA-12154: TNS: could not resolve service name".
Problem is.. left bracket "(" and right bracket ")" in path to application's exe. When this symbols are deleted from path, connection succesful.