03-09-2013 05:02 PM
Hello,
I have several callback VIs assigned to certain events.
One of these events returns a refnum to an object I need to work with in other callbacks later.
I have read I cannot use functional global, becouse the reference gets garbaged, but how can I do this ?
I tried to pas it through queue with no luck too.
The callback procdure is like this:
1. OnMouseEnter - here I get the hoovered object reference
2. OnMouseMove - here I want to work with the reference from 1.
3. OnMouseLeave - here I can free the reference
Solved! Go to Solution.
03-09-2013 05:48 PM
Ok so,
the only ugly solution I found:
Is there any better way to recreate the object or to tell labview not to destroy it ?
03-11-2013 01:48 AM
03-11-2013 11:31 AM
mscorlib->System.Collections Stack
methods push, peek, pop