Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How Does the New RTD Architecture Facilitate Updates?

0
10 Posted

How Does the New RTD Architecture Facilitate Updates?

0
10

When the RTD server wants to update any values, it calls the UpdateNotify method on a new interface that Excel has implemented as IRTDUpdateEvent. This can be called any time that the RTD server wants and as frequently as it wants. This is like tapping Excel on the shoulder. If Excel is busy, it just notes that it has been notified and get back to the RTD server when it is not so busy. If the RTD server calls the UpdateNotify method numerous times while Excel is busy, that is fine. Excel knows that when it gets a chance, it has to get new values from that RTD server. When Excel is ready, it calls the RefreshData method on the IRtdServer interface that the RTD server implements. This is where the RTD server gives Excel as many updated values as it wants to. Excel then updates all of the corresponding =RTD(…) formulas.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123