Probably A stupid question but I think I better check with the experts :-)
In the past I have initialized/ declared delegates in a separate module making them accessible throughout the whole solution
Delegate Delegate_NO_parameter()
Then, I have been using this
same delegate in numerous places in my code (different modules / forms)
Sub 1 ()
Dim d As New Delegate_NO_parameter(AddressOf X)
Me.Invoke(d)
End sub
Sub 2 ()
Dim d As New Delegate_NO_parameter(AddressOf Y)
Me.Invoke(d)
End sub
Now I know this might not be the proper way of doing so but so fare I've never had an issue with it - until now ...
Is it possible that by doing so, the callback's could get cross referenced = instead of calling
Sub X it might call
Sub Y if both get invoked at the "same" Time
I don't think it should - but in my code I was able to fix an issue that has been bugging me for days by just "moving" similar callbacks around a bit ???