title: Service Crash loading dll
body: <p>I have made a new windows service which works fine using barebone code (just the basic framework for a service), however, when i link it against my dlls, lib file to use the functionality in the dll it crashes on start up with a 0xc0000034 error.</p>
  
  <p>Is there a special place to put the dlls for a service or a special way to do this?</p>
  
  <p>.</p>
  
  <p>Edit: i have all dlls it needs in the same folder as the exe but i will try moving them to the system32 folder. I think it might be a conflict caused by my memory leak detector (vld) and the service, will have to do some more debugging and trial and error.</p>
  
  <p>.</p>
  
  <p>Edit 2:</p>
  
  <p>Found out what was causing it. It was missing dbghelp.dll (used dependency walker to work it out). Thanks for the input.</p>