Forum Discussion
Hi TanyaGorbunova,
Thanks for your reply
I add the __stdcall at dll ,but the error message is the same : Object doesn't support this property or method: 'Lib.AddA'
My scripts in VBscript as below :
sub test
dim a
Set Def_Environment = DLL.DefineEnvironment(True)
Set Def_DLL = Def_Environment.DefineDLL("test_dll")
set Lib=Def_Environment.Load("C:\Users\H208139\Desktop\test_dll\Debug\test_dll.dll","test_dll")
Call Def_DLL.DefineProc("AddA",vt_int,vt_int,vt_int)
a=Lib.AddA(2,2)
log.Message(a)
end sub
And I attached the modified dll