Здравствуйте Serge, Вы писали:
S>Здравствуйте Аноним, Вы писали:
А>>WaitForSingleObject или WaitForMultipleObjects А>>Смотри в MSDN
А>>The WaitForSingleObject function returns when one of the following occurs: А>>- The specified object is in the signaled state. А>>- The time-out interval elapses.
А>>The WaitForMultipleObjects function returns when one of the following occurs: А>>- Either any one or all of the specified objects are in the signaled state. А>>- The time-out interval elapses.
S>Спасибо, но вопрос в том, не как, а ГДЕ в компоненте ожидать их завершения.
Ну так в FinalRelease и перед тем как сделать delete this, поставь ожидание одной из выше перечисленных функций.