Exception on PowerPoint 2003

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

Exception on PowerPoint 2003
 
Gürcan YÜCEL




Posts: 54
Joined: 2004-08-16
Hi,
Im developing PP 2003 addin with D7 Ent+XP+VCL2.2
This is multipurpose addin that runs on Word,Excel and PowerPoint. In Office 2000 There is no problem. In 2003 in Word and Excel also there is no problem but in 2003 PowerPoint it raises exception.
I debug the code and saw that exception raises from component source. Here is my code;

In TAddInModule.adxCOMAddInModuleAddInInitialize section there is only one line;
Application.Handle := GetActiveWindow;

When I try to debug at the end line of this procedure it enters the components source line 5564 of adxAddin;
if HostType<>ohaMapPoint then Install;
In install procedure at line 4744 InternalAddCommandBar(TadxCommandBar(Components[i])) goes to InternalAddLine line 4875;
IControl.Set_OnAction(''); and exception raises here.

Any idea?

Thanks.
Posted 13 Apr, 2005 04:55:34 Top
Gürcan YÜCEL




Posts: 54
Joined: 2004-08-16
Im so sorry to post this message.
I searched the newsgroup and find the answer.
Thanks.
Posted 13 Apr, 2005 05:07:10 Top