I’m trying to use Dobot by using Excel VBA, but file not found error (Error 48) occurs.
I’m using DobotDll.dll file in DobotDemoV2.0\DobotDll\Precompiled\Windows\x86 or \X64.
and the code is as bellow.
Could you please tell me how to define the dll file.
Private Declare PtrSafe Function SearchDobot Lib “c:\tmp\DobotDemoV2.0\DobotDll\Precompiled\Windows\x86\DobotDll.dll” (ByVal dobotList As String, ByVal maxLen As Long) As Integer
xxx = SearchDobot(“COM3”, 5)