Addin Express 2007 for .NET causes raises unmanaged exception

Add-in Express™ Support Service
That's what is more important than anything else

Addin Express 2007 for .NET causes raises unmanaged exception
Upgraded component causes Outlook to crash unexpectedly 
Nick Randolph




Posts: 14
Joined: 2007-02-13
Since we upgraded to the latest version of the Addin Express 2007 for .NET we have been experiencing unexpected crashes with Outlook. This has been exceptionally difficult to track down as the exception doesn't occur on the managed stack and required us to attach the debugger to Native events. This lead to the following call stack (apologies for the long text dump - need a way to attach files). Please can you help us work out what is going wrong!!!!
:!:

> kernel32.dll!76f9b09e()
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
kernel32.dll!76f9b09e()
user32.dll!77ac981e()
user32.dll!77ac981e()
user32.dll!77adac38()
user32.dll!77ad7cf5()
ntdll.dll!77bc0e6e()
user32.dll!77afd39b()
user32.dll!77afd385()
[Managed to Native Transition]
AddinExpress.OL.2005.dll!AddinExpress.OL.ADXOLHook.CallbackFunction(int code = 3, System.IntPtr wParam = 35, System.IntPtr lParam = 65537) + 0x1b4 bytes
[Native to Managed Transition]
user32.dll!77ac981e()
user32.dll!77adac38()
user32.dll!77ad7cf5()
ntdll.dll!77bc0e6e()
user32.dll!77afd39b()
user32.dll!77afd385()
[Managed to Native Transition]
AddinExpress.OL.2005.dll!AddinExpress.OL.ADXOLHook.CallbackFunction(int code = 3, System.IntPtr wParam = 35, System.IntPtr lParam = 65537) + 0x1b4 bytes
[Native to Managed Transition]
user32.dll!77ac981e()
user32.dll!77adac38()
user32.dll!77ad7cf5()
ntdll.dll!77bc0e6e()
user32.dll!77afd39b()
user32.dll!77afd385()
[Managed to Native Transition]
AddinExpress.OL.2005.dll!AddinExpress.OL.ADXOLHook.CallbackFunction(int code = 3, System.IntPtr wParam = 35, System.IntPtr lParam = 65537) + 0x1b4 bytes
[Native to Managed Transition]
user32.dll!77ac981e()
user32.dll!77adac38()
user32.dll!77ad7cf5()
ntdll.dll!77bc0e6e()
user32.dll!77afd39b()
user32.dll!77afd385()
[Managed to Native Transition]
AddinExpress.OL.2005.dll!AddinExpress.OL.ADXOLHook.CallbackFunction(int code = 3, System.IntPtr wParam = 35, System.IntPtr lParam = 65537) + 0x1b4 bytes
[Native to Managed Transition]
user32.dll!77ac981e()
user32.dll!77adac38()
user32.dll!77ad7cf5()
ntdll.dll!77bc0e6e()
user32.dll!77afd39b()
user32.dll!77afd385()
[Managed to Native Transition]
AddinExpress.OL.2005.dll!AddinExpress.OL.ADXOLHook.CallbackFunction(int code = 3, System.IntPtr wParam = 35, System.IntPtr lParam = 65537) + 0x1b4 bytes
[Native to Managed Transition]
user32.dll!77ac981e()
user32.dll!77adac38()
user32.dll!77ad7cf5()
ntdll.dll!77bc0e6e()
user32.dll!77afd39b()
user32.dll!77afd385()
[Managed to Native Transition]
AddinExpress.OL.2005.dll!AddinExpress.OL.ADXOLHook.CallbackFunction(int code = 3, System.IntPtr wParam = 35, System.IntPtr lParam = 65537) + 0x1b4 bytes
[Native to Managed Transition]
user32.dll!77ac981e()
user32.dll!77adac38()
user32.dll!77ad7cf5()
ntdll.dll!77bc0e6e()
user32.dll!77afd39b()
user32.dll!77afd385()
[Managed to Native Transition]
AddinExpress.OL.2005.dll!AddinExpress.OL.ADXOLHook.CallbackFunction(int code = 3, System.IntPtr wParam = 35, System.IntPtr lParam = 65537) + 0x1b4 bytes
[Native to Managed Transition]
user32.dll!77ac981e()
user32.dll!77adac38()
user32.dll!77ad7cf5()
ntdll.dll!77bc0e6e()
user32.dll!77afd39b()
user32.dll!77afd385()
[Managed to Native Transition]
AddinExpress.OL.2005.dll!AddinExpress.OL.ADXOLHook.CallbackFunction(int code = 3, System.IntPtr wParam = 35, System.IntPtr lParam = 65537) + 0x1b4 bytes
[Native to Managed Transition]
user32.dll!77ac981e()
user32.dll!77adac38()
user32.dll!77ad7cf5()
ntdll.dll!77bc0e6e()
user32.dll!77afd39b()
user32.dll!77afd385()
[Managed to Native Transition]
AddinExpress.OL.2005.dll!AddinExpress.OL.ADXOLHook.CallbackFunction(int code = 3, System.IntPtr wParam = 35, System.IntPtr lParam = 65537) + 0x1b4 bytes
[Native to Managed Transition]
user32.dll!77ac981e()
user32.dll!77adac38()
user32.dll!77ad7cf5()
ntdll.dll!77bc0e6e()
user32.dll!77afd39b()
user32.dll!77afd385()
[Managed to Native Transition]
AddinExpress.OL.2005.dll!AddinExpress.OL.ADXOLHook.CallbackFunction(int code = 3, System.IntPtr wParam = 35, System.IntPtr lParam = 65537) + 0x1b4 bytes
[Native to Managed Transition]
Posted 18 Feb, 2007 21:52:23 Top
Fedor Shihantsov


Guest


Hello Nick,

Please, describe the problem in more detail.

What Outlook version do you use?
When does Outlook crash(startup, folder switch, shutdown, open inspector, close inspector)?
One or more one the Add-in Express add-ins do you have installed?
Could you please send me your project (or some test project with the same behavior) for testing?

P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
Posted 19 Feb, 2007 08:16:05 Top
Mike Arrington


Guest


Nick,

Were you ever able to resolve this issue? I too am receiving similiar crashes in Outlook 2003 but not in 2007. Exact error was

System.IndexOutOfRangeException: Index was outside the bounds of the array.
at AddinExpress.OL.ADXOLHook.PreProcessCustomKey(Int32 KeyCode, Int32 KeyData, Boolean sysMessage)
at AddinExpress.OL.ADXOLHook.CallbackFunction(Int32 code, IntPtr wParam, IntPtr lParam)
Posted 27 Aug, 2007 23:01:50 Top
Fedor Shihantsov


Guest


Hello Mike,

Could you please tell me what operation do you make when you get the exception? (What key do you press?)
Posted 28 Aug, 2007 09:09:24 Top