title: Debugging VB6 dll from VB6 exe
body: <p>I have a VB6 program that calls a VB6 DLL which in turn calls another VB6 DLL. When I execute the calling program there is an application error which I am unable to pinpoint so I researched how if it was possible to "see" the error in the dll.</p>
  
  <p>I read Stackoverflow entry <a href="https://stackoverflow.com/questions/5330218/vb6-debugging-exe-to-dll">question about debugging VB6 dll</a></p>
  
  <p>and followed the directions of Booji Boy to create a vbg. I also followed his directions and removed the two DLLs from he Reference list. The calling program takes a .txt file as input.  When I executed the exe I received this error:</p>
  
  <p><strong>Error Number: 13Description: Type mismatch</strong></p>
  
  <p>The error isn't being generated by the application.</p>
  
  <p>What does this mean? How can I debug this issue?</p>