Subject Re: [IBO] Re: IBO and NT service
Author Jason Wharton
> Not if you call ServiceThread.ProcessRequests in your while not Terminated
> do ... loop.

I did that and it didn't make any difference for me. Everything worked fine
but it still had that quirk.

> You can also use an internal flag variable and check it in your main loop.
> Just do a ServiceThread.ProcessRequests (perhaps followed by a short
Sleep)
> in a loop until your asynchronous call is processed. Not as nice as your
> solution but definitely easier.

Keep in mind there's more going on in my service than just events. I tried
to get a simpler model working but it never satisfied me.

I am confident what I have now is the most flexible and robust way to do it.

FWIW,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com