Jan 10, 2003 #1 R rmatthew Well-known member 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 Divil Well-known member Joined Nov 17, 2002 Messages 2,748 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 youre 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 youre only having one).
Jan 11, 2003 #3 R rmatthew Well-known member Joined Dec 30, 2002 Messages 115 Location Texas Had to share a few things - but works well. Thanks