Forum Discussion
venkat001
13 years agoOccasional Contributor
Hi,
Sub TestFunction
Dim A, Def_DLL, Lib
A=1
Set Def_DLL = DLL.DefineDLL("DD1440A_DAQ_V_1.dll")
Set Lib = DLL.Load("C:\Users\20039895\Desktop\Test Complete_Tututorial\Custom_DLL\DD1440A_DAQ_V_1.dll")
call Def_DLL.DefineProc ("AQ_SetStart", vt_void, vt_int)
Lib.AQ_SetStart A
End Sub
Error
An exception occurred in the "Unit1" unit at line 38:
Microsoft VBScript runtime error
Object doesn't support this property or method: 'Lib.AQ_SetStart'An exception occurred in the "Unit1" unit at line 38:
Microsoft VBScript
runtime error
Object doesn't support this property or method:
'Lib.AQ_SetStart'
Regards,
Venkateswaran K
Sub TestFunction
Dim A, Def_DLL, Lib
A=1
Set Def_DLL = DLL.DefineDLL("DD1440A_DAQ_V_1.dll")
Set Lib = DLL.Load("C:\Users\20039895\Desktop\Test Complete_Tututorial\Custom_DLL\DD1440A_DAQ_V_1.dll")
call Def_DLL.DefineProc ("AQ_SetStart", vt_void, vt_int)
Lib.AQ_SetStart A
End Sub
Error
An exception occurred in the "Unit1" unit at line 38:
Microsoft VBScript runtime error
Object doesn't support this property or method: 'Lib.AQ_SetStart'An exception occurred in the "Unit1" unit at line 38:
Microsoft VBScript
runtime error
Object doesn't support this property or method:
'Lib.AQ_SetStart'
Regards,
Venkateswaran K
Related Content
- 6 years ago
- 6 years ago
Recent Discussions
- 4 hours ago