Richard Stevens
Posts: 63
Joined: 2007-01-24
|
|
Andrei Smolin
Add-in Express team
Posts: 19098
Joined: 2006-05-11
|
Hello Richard,
It looks like your add-in is per machine. Please confirm.
Did you try to start with *all* other COM add-ins turned off? Did you try to start without your add-in and to enable it using the COM Add-ins dialog.
The logs don't help. They seemingly describe how Outlook loads the DLL. There is difference but this is Windows who decides what and how to read. If your code doesn't start working, consider checking system logs, antivirus logs, Disabled Items, registry keys created for your add-in, etc. Check if a new empty add-in produces the same issue on that user.
PS. That topic was closed after 30 days of inactivity. You can ask us to reopen such a topic.
Andrei Smolin
Add-in Express Team Leader |
|
Richard Stevens
Posts: 63
Joined: 2007-01-24
|
Thanks Andrei but they have tried this on multiple PCs with the same results. It works if you have admin privileges, doesn't work if you don't.
Have even tried adding log in code to the Initialisation code of the AddInInitialize method but it doesn't even get that far. Is there anywhere else we could put logging code that is even earlier than that method?
A much simpler Addin we also built in Delphi (same version etc) works fine.
System Logs just report "Application hang" for Outlook.
Really stumped - any more suggestions as to how you would go about debugging this? |
|
Andrei Smolin
Add-in Express team
Posts: 19098
Joined: 2006-05-11
|
Hello Richard,
Is OnRibbonBeforeCreate event called? Is TadxFactory.Create() code line executed? You can also override the constructor of the TAddinModule class.
TADX_OLPageParams = class(TadxAddin, IADX_OLPageParams)
procedure Initialize; override;
end;
TAddInModule = class(TadxCOMAddInModule)
...
private
protected
...
constructor Create(AOwner: TComponent); override;
end;
Andrei Smolin
Add-in Express Team Leader |
|