title: VB6 - DLL cannot be found
body: <p>I'm trying to load a DLL in VB6 using the command</p>
  
  <p><code>Private Declare Function myFuncLib "myDLL.dll" (ByVal file_name_in As String, _
       ByVal file_name_out As String) As Long</code></p>
  
  <p>But as soon as I run the program it pop-up a box with the text": "Run time error: 53 Cannot find: myDLL.dll"</p>
  
  <p>The DLL is placed in the same directory of the project. </p>
  
  <p>If I put myDLL.dll in the system32 folder it works, but I don't want to do it, I would like to place the dll in the same folder of the project.</p>
  
  <p>Is there a way to solve this problem?</p>
  
  <p>Thanks</p>