XLL Add-In and RTD AddIn in one solution

Add-in Express™ Support Service
That's what is more important than anything else

XLL Add-In and RTD AddIn in one solution
get #N/A for RTD function 
Bala Mukund




Posts: 19
Joined: 2011-09-08
I had an addin (XLLAddIn, COM AddIn), and another RTD addIn, both created using addin express.
Now I want to merge the two into one.
So I add a function in XLLAddIn for RTD, a ribbon to call it.
but I get #NA. I tracked down in VS, the function is called but not RTD module.
Do you have any idea why? thanks
Posted 02 Apr, 2012 09:47:57 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Hello Bala,

Make sure that the RTD function uses a correct ProgId.

You can compare your implementation with the one described in http://www.add-in-express.com/creating-addins-blog/2010/03/24/addin-xll-rtd-one-assembly/.


Andrei Smolin
Add-in Express Team Leader
Posted 02 Apr, 2012 09:54:54 Top
Bala Mukund




Posts: 19
Joined: 2011-09-08
the two are in two assembly, I called with the correct progID, even when I try with RTD("programID", ...) in Excel, RTD function does not work. So it looks the RTD registration failed but I did not see that from log files thanks
Posted 02 Apr, 2012 10:00:31 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Hi Bala,

Re-register the RTD server project and check if events of the RTD module are fired when you call the RTD function in Excel.


Andrei Smolin
Add-in Express Team Leader
Posted 02 Apr, 2012 10:07:45 Top
Bala Mukund




Posts: 19
Joined: 2011-09-08
Thanks, Andrei. I found there is an exception during adxregstrator, by fix that, everything works fine. thanks
The exception was caused by manually adding an image in image list, it should be added in designer. thanks
Posted 02 Apr, 2012 13:15:47 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Thnak you for letting me know.


Andrei Smolin
Add-in Express Team Leader
Posted 03 Apr, 2012 01:11:30 Top
Bala Mukund




Posts: 19
Joined: 2011-09-08
Hello,
Now I have a related new issue. I migrate installer from set up project in VS to Advanced Installer
After install on 32 bit Excel, myaddin works fine.
install on 64 bit Excel, everyting works except RTD function.
It simply gives #N/A
I checked adxloader.log, adxregistrator.log, they are both success without error/exception.

Just wonder if I need adxregistrator.exe for both assemblies?
Posted 18 Apr, 2012 16:06:12 Top
Eugene Astafiev


Guest


Hi Bala,

May I see the adxregistrator.log and adxloder.log files from the problematic PC?
Posted 19 Apr, 2012 01:26:26 Top