RTD Notes - ittegrat/ExcelDna GitHub Wiki

Calling UpdateNotify on the main thread

The ExcelRtdServer helper in Excel-DNA goes to a lot of effort to always call IRtdEvent.UpdateNotify on the main Excel thread. The mechanism also throttles calls to UpdateNotify so that only a minimum number of calls to Excel are made, which might help Excel during ongoing calculations. My understanding of the main-thread requirement of the UpdateNotify call comes from a Kenny Kerr blog post, and I agree with his understanding of the implied COM contract. There is a bit of evidence in a discussion thread that describes problems experienced in a case where UpdateNotify is called from another thread.

Known bugs