> I think this might not be the right place to ask, but here goes:
> We've written an Excel add in using Excel-DNA.
This is definitely the best place to ask :-)
I would suggest setting up a fresh project with an RTD server, to see if you can get that to work.
I suggest his one: Samples/RtdClocks/RtdClock-ExcelRtdServer at master · Excel-DNA/Samples
Check the setting “Application.RTD.ThrottleInterval” on your Excel (in the VBA Immediate windows is easiest). The default is “2000” (ms), which is a good value. 500 is fine as well. Just make sure it’s sensible.
I can’t tell from the message whether you are depending on the Excel-DNA code to do the just-in-time registration, or whether you are registering the .xll as a COM server ‘persistently’ (maybe with a call to ComServer.Register…() or running regsvr32 against the .xll) and then doing your own UDF wrapper which calls xlfRtd.
If it’s the latter, then you can simplify the test already by calling =RTD(…) from the sheet. Anyway you can inspect the registry to check the registration.
If you’re using the Excel-DNA just-in-time registration, you have to be careful with attributes on the class and also on the AssemblyInfo.cs (For example, an [assembly:ComVisible(true)] might have been removed or lost in your refactoring.)
You’re also not saying whether you are moving from .NET Framework to .NET core, which can have its own quirks.
If you want some more direct help, you’re welcome to send me an email.
Regards,
Govert
--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/exceldna/e17ba5c5-164c-4cc0-b941-8373e27aee73n%40googlegroups.com.