I'm trying to load a DLL in VB6 using the command
Private Declare Function myFuncLib "myDLL.dll" (ByVal file_name_in As String, _
ByVal file_name_out As String) As Long
But as soon as I run the program it pop-up a box with the text": "Run time error: 53 Cannot find: myDLL.dll"
The DLL is placed in the same directory of the project.
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.
Is there a way to solve this problem?
Thanks