I am 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 will display a window with the text ":" Runtime Error: 53 Cannot find: myDLL.dll "
The DLL is placed in the same project directory.
If I put myDLL.dll in the system32 folder, it works, but I do not want to do this, I would like to put the DLL in the same project folder.
Is there any way to solve this problem?
thanks
Beppe source share