On Sunday 25 December 2005 8:35 pm, Patrick LeBoutillier wrote: > Jay, > > You forgot to open the callback stream. Try adding this: > > $api->OpenCallbackStream() ; > > right before: > > while ((my $rc = $api->WaitForCallback(.1)) > -1){ > > if (! $rc){ > > My guess is that your are breaking out of the while loop with -1 and > the main thread > is finishing, leaving only the other threads running. > > > Patrick
DOH!!!! Now it works. Thanks for all the help so far. Much appreciated Jay