Using the (incomplete) example code from docs.oracle.com (see 15-1) I get an exception when calling OCIDBStartup. My environment is as follows:
Windows 10 / Visual Studio / C++
Oracle 18 and oci.lib from this version (same Problem with Oracle 21)
Question: Where can I find a complete and working example?