Kesey,
How are you using the asynchronous support? Are you inheriting from RtdServerBase? Or are you using an async util method?
Can you provide some more details on how the logic *should* work? If two cells call with TODAY() (pass same date params) then what do you think should happen?
Should you call out to the Webservice one and share? Or twice?
Is the webservice call taking the dates as params?
Do you ever need to call back the webservice even if Excel does not run you again? That is, is the webservice's data set changing in the background and do you want to show these changes in Excel?
Are you sure everyone is using TODAY() and not NOW()? This has broken stuff for us before. No one should be using NOW().
Hello everyone,I have doing a new functionality in my addin using the asynchronous capability and I have a bit problem. I have created a non-volatile function and this function accept an argument where I insert a date. If I use the "today" function to fill this argument, this action convert my non-volatile function in a volatile function.The problem is when in my excel I use this functions in different cells. How the content of my internal thread waste different time doing the work, the function end in different moment in each cell. And here I have the problem. Every time that some function end and call again the function with de asynchronous funcionality to show the result, the rest of functions are call again. I think is beacuse this functionality has a beahvior like to press SHIFT+F9 and refresh all the volatiles functions.For me this is a big problem beacuse all my functions are constantly executing, and my excel start a infinite loop, calling the functions all the time. Someone know what can I do to solve the problem?This function connect to Web Service in order to recover a data and I always have to connect in order to know the data have changed.Thanks, Regards--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To view this discussion on the web visit https://groups.google.com/d/msg/exceldna/-/t5CkoXSZ5asJ.
To post to this group, send email to exce...@googlegroups.com.
To unsubscribe from this group, send email to exceldna+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/exceldna?hl=en.
Luis,
In an ideal world, if the result of TODAY() does not change between calls, what do you want to happen?
Would you be happy if the implementation just returned the previous cached value without calling out to the webservice?