Simple things in a complex world
How to pass that ball?
Published on May 15, 2007 By TwoWolves In OS Customization
According to the DesktopX documentation a script object that runs in a different thread cannot access the methods or properties of a script in the main thread.
 
So how do I pass data obtained in the retrieval thread back to the object in the main Object thread loop?
 
I guess I could write it to a file and then send a state change to the master object in order to tell it to read the file but that's a bit of a kludge.
 
Do any of the DesktopX gurus know of a more elegant way of doing this?

Comments
No one has commented on this article. Be the first!