I am creating a thread using BeginThread.
In the procedure I am using to start the thread I want to pass a pointer to a boolean variable so that both the forked thread and main thread can access it as a control variable to tell one when the other is done.
Since begin thread takes in a pointer for the parameters i have tried to pass in the Addr(MyPointerVar) but I am getting errors.
But I have to run so I cannot finish my thoughts here tonight. But if anyone has any ideas on doing this I appreciate it.