In VB6, using oo4o(Oracle InProc Server),
whin I run debuging mode with VB6 App, result is successfull.
But, compile this application, and execute EXE module,
error occur 'Cannot resolve TNS Name (ORA-12154)'.
Just make sure that the executable is not started from a directory path containing brackets (e.g. "C:\Program Files (x86)\MyApp\myapp.exe") but copy that executable to a directory path without brackets. The brackets in one of the directies in the path may lead to the Oracle exception "ORA-12154: TNS :could not resolve service name".