03-23-2012, 08:57 PM
Helo everyone!
I'm try to pass class objects beetwen two actions using GlobalDictionary
but I have problem
When I try to pass simple values it's ok and even I try to pass object it's also everything fine but I can't call any methods from passed class object! So, question: WHY ?
Here is example:
Action1 source code:
Action2 source code:
Thanks a lot!
I'm try to pass class objects beetwen two actions using GlobalDictionary
but I have problem
When I try to pass simple values it's ok and even I try to pass object it's also everything fine but I can't call any methods from passed class object! So, question: WHY ?
Here is example:
Action1 source code:
Code:
GlobalDictionary.RemoveAll <---- before start cleanup global hash
RunAction "Action2"
'here i Try to call method "checkCall"
GlobalDictionary("checkObj").checkCall() <--------------ERROR, but WHY ?
Action2 source code:
Code:
Class check
Function checkCall()
MsgBox "OK"
End Function
End Class
Set checkObj = new check
GlobalDictionary.Add "checkObj ", checkObj
Thanks a lot!