Skip to content

Intellisense initialization crash #75

@blurt

Description

@blurt

Some users have experienced this issue on startup or after locking their computer.
This is a particularly nasty bug because client code cannot handle this exception and it takes down the entire app.

System.ComponentModel.Win32Exception (0x80004005): Access is denied
at ExcelDna.IntelliSense.Win32Helper.GetFocusedWindowHandle()
at ExcelDna.IntelliSense.WindowWatcher.TryInitialize()
at ExcelDna.IntelliSense.UIMonitor.RunUIAutomation()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions