You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Excel-DNA
Hi,
Want to share with you that current NativeAOT doesn't support custom RTD server. ChatGPT provided a working solution:
Modified:
- ExcelDna.Integration/Registration/StaticRegistration.cs:26 — added the static RTD server registry. - ExcelDna.Integration/TypeHelper.cs:34 — added the AOT RTD type factory. - ExcelDna.Integration/DnaLibrary.cs:314 — registers generated RTD servers and initializes synchronization. - ExcelDna.Integration/ExcelRtd.cs:113 — recognizes the generated COM wrapper. - ExcelDna.SourceGenerator.NativeAOT/Generator.cs:92 — discovers public ExcelRtdServer subclasses and emits registration code.
New:
- ExcelDna.Integration/ComInterop/Generator/ExcelRtdServerWrapper.cs:13 — source-generated COM adapter connecting Excel’s RTD interface to a custom ExcelRtdServer.