title: I get error 32104 when when running an oracle db client written in c++ in visual studio
body: <p>I am trying to build an oracle client in c++ using Visual Studio 2019.
  The client is legacy code from 2010, so I am using the vs 2010 toolkit and oracle's instantclient 12.1 and 12.1 sdk.</p>
  
  <p>When I debug the program, I get an error on the first oracle function call, outputing the sql error code 32104, which from oracle states:
  [INS-32104] Specified Oracle Home user is not the owner of the specified Oracle Base</p>
  
  <p>I am linking the instantclient sdk's include folder in my project properties, aswell as the static library (oraocci12d.lib), and I am adding the vc10 folder aswell as the root folder in the instantclient 12.1 path to my windows PATH variable, so that my program can find the oci.dll and oraocci12d.dll.</p>
  
  <p>I have tried many variations of this, but no matter what I do, the program halts when it does its first oracle call, with the function createEnvironment() (any other call also halts the program).</p>
  
  <p>The sqlerror code in my output is 32104, which from oracles documentation states:</p>
  
  <p>[INS-32104] Specified Oracle Home user is not the owner of the specified Oracle Base</p>
  
  <p>I do not have any ORACLE_HOME or any other oracle env variable set.</p>
  
  <p>I found this, which seems like it is the same issue. He does the same thing is me in the solution, but for me it does not work: <a href="http://kaottt.blogspot.com/2009/06/oracle-10g-occi-11-vs2008.html" rel="nofollow noreferrer">http://kaottt.blogspot.com/2009/06/oracle-10g-occi-11-vs2008.html</a></p>
  
  <p>I am all out of ideas, any are appreciated.</p>