title: OLE Error 8013150A with Delphi using .NET assembly (Run as Admin oddity)
body: <p>I've got an .NET assembly I have built to access one of our databases and passed off to another programmer to use in their Delphi application. </p>
  
  <p>On Vista and Windows 7 machines running with a user login (without Admin rights) running the Delphi EXE fails with "Ole Error 8013150A" but otherwise works on all other OS types we tested.</p>
  
  <p>The Delphi EXE works when Run as Administrator. </p>
  
  <p>Once the EXE has been run <em>ONCE</em> as Administrator, from then on it will work fine when run normally.</p>
  
  <p>I'm thinking there is something in the registry that needs to be written when instantiating the COM interface in the Delphi app that requires admin rights, but once written never needs to be done again... or something along those lines? </p>
  
  <p>Error 8013150A seems to be related to security errors from what little information I could find on it.</p>
  
  <p>Any ideas?</p>