title: Python dll call fails
body: <p>I am having a <code>A.dll</code> file consisting of one more <code>B.dll</code> in it.</p>
  
  <p>This <code>A.dll</code> is loaded in Python using <code>LoadLibrary</code> call.</p>
  
  <p>I am calling a function that is part of this <code>A.dll</code> file which is calling <code>B.dll</code> function in turn calling <code>deviceiocontrol</code> function of Windows.</p>
  
  <p>If I comment the <code>B.dll</code> function call in <code>A.dll</code> file this scripts completed the function call otherwise it hangs.</p>
  
  <p>Same dll function works with the C# application without any problem.</p>