View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Harry Harry is offline
external usenet poster
 
Posts: 71
Default RTD IRTDUpdateEvent::UpdateNotify() never returns

Hi,

I observed a strange behaviour of the UpdateNotify method:

When closing excel, excel calls DisconnectData for all cells refering to my
rtd server.
During this DisconnectData calls, IRTDUpdateEvent::UpdateNotify() is called
(for updates of cells which have not been disconnected yet.

In this case, it happens sometimes, that the IRTDUpdateEvent::UpdateNotify()
NEVER returns and blocks the whole thread in which it was called (a seperate
thread, only for UpdateNotify() calls, similar to
http://support.microsoft.com/default.aspx/kb/327215)

The UpdateNotify() method is called before ServerTerminate,
IRTDUpdateEvent::Disconnect() and IRTDUpdateEvent::Release() has been called.

Are UpdateNotify() calls forbidden after a certian point (before
ServerTerminate was called)?

Any idea?

Cheers,
Harry