Hi Mariano, Colin

Sorry for the long delay - I was on holiday :-)

> That problem is in odbx_init_oracle, as it is answering ODBX_ERR_NOMEM  in
> oracle_odbx_init() where it does:
>
>       if( ( conn->errcode = OCIEnvCreate(&env, OCI_THREADED, NULL, NULL,
> NULL, NULL, 0, NULL ) ) != OCI_SUCCESS )
>          {
>                  printf("2-hndl-cleanup");
>                  oracle_priv_handle_cleanup( handle );
>                  return -ODBX_ERR_NOMEM;
>          }
>
> The error code was: ODBX_ERR_NOMEM1 error: -1
> So OCIEnvCreate is answering -1....
>
> I had the same problem in Windows, and my problem is that I was using
> ANOTHER oci.dll. In his case, he checked and only has ONE library.

I don't know what the problem might be but to get a grip on the root of 
the problem I would try to use the OCI error functions and pass the 
return value to them (like in oracle_odbx_error()). Maybe you get a 
descriptive error message and a hint for further investigations.


Norbert

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
libopendbx-devel mailing list
libopendbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
http://www.linuxnetworks.de/doc/index.php/OpenDBX

Reply via email to