anonghosteam / outlook-privacy-plugin

Automatically exported from code.google.com/p/outlook-privacy-plugin
GNU General Public License v3.0
0 stars 1 forks source link

NULL Object reference once more this time for toolbar creation on minimized OL window #145

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
NOTE: For installation issues please first read the wiki page at
https://code.google.com/p/outlook-privacy-plugin/wiki/InstallationIssues.

NOTE: For BETA 35 or newer, please attach
%APPDATA%\OutlookPrivacyPlugin\log.txt.
Attached, see error msgs there

What version of Windows?
W7-64

What version of Outlook (2010, 2013, x86/x64)?
OL2013/64

What steps will reproduce the problem?
1. Starting OL minimized (either from Autostart folder or manually with that 
icon)

What is the expected output? What do you see instead?
The usual "object is not a valid reference..." (or so, I get it in german, but 
actually its a NULL pointer reference)

As you can see, it happens, when the plugin trys to add the menubar to the 
non-existing ('cause minimized) OL window. Checking the code tells me, that 
there are no precautions at all to properly handle an 
"Outlook.Application.ActiveExplorer()" returning NULL. 
The changes will be quite complicate I think. I guess you have to add code to 
check against NULL and retry adding the toolbar as long as it is still NULL. Or 
maybe it would be better to monitor the "window created/restored" event and 
attach it then. But the current version cannot work this way.

One other small question, that does not belong here, but I cant find any answer 
on the net: in the settings of the plugin there is a tab for "exchange server". 
What is it good for, and what am I supposed to enter there??? Leaving it blank 
still allows me to work with my local exchange server, adding his FQDN here 
does not seem to make any difference to me.

Please provide any additional information below.

Original issue reported on code.google.com by trillian...@gmail.com on 20 Sep 2014 at 9:35

Attachments: