com server warning при выключении

Для чего они нужны, чем/чего они используют?

Вот скрин — это когда я комп перезагрузить хотел, он не перезагружается, пишет нужно закрыть программу, ну я отмену перезагрузки нажал и на раб столе эта табличка была.

Это КМПлеер выдает её. Что он там использует? первый раз за 8 лет такое выскочило, ну я как поставил 8 лет назад на этот комп Кмплеер, так он и стоит — не было такого.

А ща почему ни с того ни с сего выскочило?

.

Вот перевод если что, что бы с переводом не морочились))

COM-сервера: в этом приложении все еще есть активные COM-объекты. Один или несколько клиентов могут иметь ссылки на эти объекты, поэтому ручное закрытие этого приложения может привести к сбою этих клиентских приложений.
Вы уверены, что хотите закрыть это приложение?

Содержание

  1. COM Server Warning on shutdown
  2. COM Server Warning on shutdown
  3. RE: COM Server Warning on shutdown
  4. RE: COM Server Warning on shutdown
  5. RE: COM Server Warning on shutdown
  6. RE: COM Server Warning on shutdown
  7. Red Flag Submitted
  8. Reply To This Thread
  9. Posting in the Tek-Tips forums is a member-only feature.

COM Server Warning on shutdown

COM Server Warning on shutdown

Hi All,
I am developing some software which consists of a main application which starts up several other programs using Automation. My problem is when the PC shuts down (without first closing my main app) I get the following message dialog :-

COM Server Warning
There are still active COM objects in this application. One or more clients may have references to these objects, so manually closing this application may cause these clients to fail.

Does anyone know how to avoid this ?

RE: COM Server Warning on shutdown

You’re probably getting that warning because you didn’t first close your main app. Your main app probably still holds some references to the other programs/objects which you started up through Automation.

If you can release your main app’s references to those objects, do so. If you can’t, I don’t think you can avoid the problem unless there’s a backdoor way to quiet down COM’s warnings.

RE: COM Server Warning on shutdown

Hi — thanks for your response.

I have tried using a callback interface to allow the COM server to call a method on the client which nulls its interface reference, thereby allowing me to shutdown the COM server nicely without raising any warnings. This works fine if I close the COM Server app manually. the problem occurs when I shutdown the PC from the Start menu.

I wish my COM server app to work the same way as MSWord or IE — you can close those apps down without having to null the interface reference in the client, and it does’nt raise any warnings.

PS. The warnings occur for both single and multi instance COM servers.

RE: COM Server Warning on shutdown

RE: COM Server Warning on shutdown

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Автор Steve-O задал вопрос в разделе Другие языки и технологии

На компе стоит программа Power Off(таймер для выключения компа в определённое время) и получил лучший ответ

Ответ от Александр Евдокимов[гуру]
скачай OFFTimer, намного проще PowerOFF

Источник: computermaker.info

Понравилась статья? Поделиться с друзьями:
Ок! Компьютер
Добавить комментарий