Bernd Hoff
Posts: 2
Joined: 2013-07-09
|
Hi,
I recently ran into a weird issue.
Since my Debugger is set up to break on all errors, the startup of Outlook haltet prior to running any of my code with following exception:
LoadFromContext was detected
Referencing ?Â?Ð?ìTeamViewerMeetingAddIn?Â?Ð?í
This didn?Â?Ð?ét bother me because I recently installed Teamviewer.
But my AddIn suddenly displayed in English on my German development machine.
Debugging this weird issue showed, that System.Threading.Thread.CurrentThread.CurrentUICulture() was set to en-US.
Since installing Teamviewer was the only change I could think of, I uninstalled it.
And what happened? System.Threading.Thread.CurrentThread.CurrentUICulture() has now been set to de-DE again.
Reinstalling Teamviewer lets me reproduce this behavior.
So it seems that relying on System.Threading.Thread.CurrentThread.CurrentUICulture() is not the best choice.
Is there a value I could use that cannot be changed by another AddIn?
Best Regards
Bernd |
|
Andrei Smolin
Add-in Express team
Posts: 18817
Joined: 2006-05-11
|
Hello Bernd,
I have the TeamViewer add-in installed. In File | Options Add-ins, the Location field shows "mascoree.dll" for it. This means the TeamViewer add-in is a non-isolated add-in which works in the default AppDomain. Are you sure that you supply adxloader.dll with your add-in? Does the Location field shows "mscoree.dll" for your add-in?
Andrei Smolin
Add-in Express Team Leader |
|
Bernd Hoff
Posts: 2
Joined: 2013-07-09
|
Hi Andrei,
thanks for your fast response.
The AddIn Options Dialog shows mscoree.dll for the Teamviewer AddIn,
and adxloader.dll with full path to install dir for our AddIn.
adxloader.dll is present at this location.
Best Regards
Bernd |
|
Andrei Smolin
Add-in Express team
Posts: 18817
Joined: 2006-05-11
|
|