Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Mon, 13 Mar 2006 15:06:38 -0500,    group: microsoft.public.exchange2000.development        back       


How to Determine if an Outlook XP Addin is Trusted   
I have a COM Shim for an Outlook XP Addin that is intended to be registered 
as trusted code in the "Outlook Security Settings" public folder on an 
Exchange Server.



The code is developed in C/C++.  It is not .NET so it is not managed code. 
The Addin always loads and its access to the OOM is derived from the 
Application object.  However, if the DLL is not registered on the Exchange 
server as "Trusted Code", access to the message body triggers the OM Guard. 
If it is trusted, then the guard does not pop up.



There will be situations where the system Administrator has forgotten to 
register the DLL with the Admin Pack.  I'd like to know in advance if the 
DLL was not trusted and skip certain portions of my code that would cause 
the warning to appear.  i.e operate with limited functionality if the DLL 
was not trusted.



How can I determine at run-time if the DLL is trusted?  Is there an API to 
interrogate the Exchange server or is there some code that I can put in a 
Try/Catch block to identify an untrusted DLL?
date: Mon, 13 Mar 2006 15:06:38 -0500   author:   Mark Wilson am

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us