ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   RTD IRTDUpdateEvent::UpdateNotify() never returns (https://www.excelbanter.com/excel-programming/399480-rtd-irtdupdateevent-updatenotify-never-returns.html)

Harry

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


All times are GMT +1. The time now is 08:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com