Jan 10, 2003 #1 R rmatthew Centurion Joined Dec 30, 2002 Messages 115 Location Texas I have a thread that I want to call back to a function in my main class? Is there a way to make these functions visible/usable to the thread?
I have a thread that I want to call back to a function in my main class? Is there a way to make these functions visible/usable to the thread?
Jan 11, 2003 #2 D divil Ultimate Contributor Joined Nov 17, 2002 Messages 2,746 Location England The thread just needs a point of reference to the instance of your main class that it needs. You could do this any number of ways, including a shared field of the main class which returns the instance (if you're only having one).
The thread just needs a point of reference to the instance of your main class that it needs. You could do this any number of ways, including a shared field of the main class which returns the instance (if you're only having one).
Jan 11, 2003 #3 R rmatthew Centurion Joined Dec 30, 2002 Messages 115 Location Texas Had to share a few things - but works well. Thanks