C++ oracle question

I've been trying for a few months to connect to Oracle through c++ using mingw
on windownsXP (using Code::Blocks as IDE).

sadly Oracle OCI/OCCI don't support anything but Microsoft VC.
while trying AVOID using Microsoft's Visual Studio a notice:
(please correct me if I'm wrong)
1) Ultimate++ has an oracle interface but it doesn't support newer version of Oracle Databases.
2) OCL that seems to be ok, but cannot be used freely in commercial use.

have any of you have any experience in this field? can you point me on how?
Thanks,
Gal
Last edited on
You could write a one off OCI/OCCI wrapper using MSVC that exposes an C interface, which you could then use from any other language. Once that was in place, you could ditch MSVC.

It will be a lot of work, but initially you'll be using a subset, so you improve it as you go.
Use Win32 SGBD apis
Or use the OTL (formerly the Oracle Template Library). http://otl.sourceforge.net/

Works great. Really simplifies access to the database.
OTL looks good, much better than my proposition.
Thanks all,

both OTL and SGBD look promising,

thanks for help,
Gal

PS: who said C++ is dead?
Topic archived. No new replies allowed.