Using the debug library (oraocci11d.lib, vc9; NOT oraocci11.lib) for the debug mode did the trick for me (Toolset VS2008 [v90] in VS2017).