[Info-vax] Comment on the future of OpenVMS

Malcolm Dunnett nothome at spammers.are.scum
Tue Oct 27 11:06:26 EDT 2009


Arne Vajhøj wrote:

> OCI/OCCI is C/C++ only. But C/C++ can be called from other languages.
> 

   I have no problem calling OCI directly from Basic on VMS.

   (at least with Oracle up to 10g - have they changed something
in Oracle 11?)

    Well that's not quite true - with Oracle 10 they changed the
symbol names in OCI so that they are lower-case, but Basic has no
"Exact case" qualifier so you can't directly link BASIC routines
to Oracle 10g. I solved this by having an initialization routine
that use FIND_IMAGE_SYMBOL to resolve the OCI routine addresses
and then the routines I wrote call them using LIB$CALLG.



More information about the Info-vax mailing list