Fail to register Excel addin dll

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

Fail to register Excel addin dll
Fail to register Excel addin dll built with adxvcl 6.2 
Chengkun Gui




Posts: 3
Joined: 2010-10-19
Hi
I recently upgraded to adxvcl 6.2 from adxvcl 4.4. After the upgrade, my addin project could not be registered any more. It return 0x80004005 error when I ran regsvr32 as an administrator.

My system enviroment is Window7 32 bit, Office 2010 and Delphi 2009.

My addin project is an Excel addin. There is no DB connection in the constructor.

Can anyone help? Thanks.
Posted 19 Oct, 2010 01:06:39 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hi Chengkun,

It looks like you don't have required privileges. Does "I ran regsvr32 as an administrator" mean you run regsvr32 in an command line prompt run via "Run as administrator"? Is the same problem reproducible on a new empty add-in?


Andrei Smolin
Add-in Express Team Leader
Posted 19 Oct, 2010 08:19:32 Top
Chengkun Gui




Posts: 3
Joined: 2010-10-19
Hi Andrei,

Sorry about my English.

Yes, I ran regsvr32 in an command prompt via 'Run as administrator'.

If I removed TadxRibbonTab/TadxRibbonGroup/TadxRibbonButton controls from my project, it seems registered fine.

Does it has something to do with Office 2010? I read something about Microsoft abandoned Ribbons in Office 2010.

Thanks.
Posted 19 Oct, 2010 17:15:37 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hi Chengkun,

Is the add-in a per-user or per-machine one?

Chengkun Gui wrote:
Does it has something to do with Office 2010? I read something about Microsoft abandoned Ribbons in Office 2010.


I don't think so. In fact, in Office 2010 they abandoned commandbar controls, not Ribbon controls.

You can send me any project reproducing the issue to to the support e-mail address, see {Add-in Express}\readme.txt. Please make sure your e-mail contains a link to this topic.


Andrei Smolin
Add-in Express Team Leader
Posted 20 Oct, 2010 06:07:11 Top
Chengkun Gui




Posts: 3
Joined: 2010-10-19
Thanks Andrei.
All my fault. I built my project with some of dcu files from old version.
After I update the dcus, it is registered fine.
Posted 20 Oct, 2010 21:23:14 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hi Chengkun,

Oh, thank you very much for letting me know: I've started thinking if this is a bug in our code :)


Andrei Smolin
Add-in Express Team Leader
Posted 21 Oct, 2010 01:55:45 Top