This document is archived and information here might be outdated.  Recommended version.


AppROT and Windows Vista (ArcObjects .NET 10.4 SDK)

AppROT and Windows Vista


Summary
If you are writing code that accesses the application running an object table (AppROT), be aware that your application running on Windows Vista fails if it does not have a high enough permission level.

About AppROT and Windows Vista

AppROT is used as a global list of all currently running ESRI ArcGIS applications. Calls made in to AppROT are out-of-process Component Object Model (COM) calls in to the AppROT.exe COM server. If in your development you are making calls in to AppROT, be aware of permission level restrictions on Windows Vista.

On Windows Vista, if the AppROT executable is run using administrator privileges, client applications running with reduced privileges will not cocreate an AppROT object due to increased security—the call in to AppROT hangs for 30 seconds, then fails.
To ensure your application runs correctly, one possible solution is to use an application manifest. For more information, see Step 6: Create and Embed an Application Manifest (UAC) on the Microsoft Developer Network (MSDN) Web site.