File not found when loading dll from vb6

前端 未结 5 1893
无人共我
无人共我 2020-12-19 08:06

I am declaring and calling a dll function using the following syntax in VB6:

\'Declare the function
Private Declare Sub MYFUNC Lib \"mylib.dll\" ()

\'Call t         


        
5条回答
  •  醉梦人生
    2020-12-19 08:42

    My standard first go-to approach to this issue is to break out ProcMon (or FileMon on XP). Setup the filters so that you can see where exactly it's searching for the file. It is possible that it's looking for the file elsewhere or for a different file name.

提交回复
热议问题