I've implemented the Outlook IM provider according to the official guide: https://docs.microsoft.com/en-us/office/client-developer/shared/integrating-im-applications-with-office
And host it via the COM server published at: https://code.msdn.microsoft.com/windowsapps/CSExeCOMServer-3b1c1054
Everything works fine. Except for: If I manually close the COM Server, or I put PC to sleep state, then wake up again. It will make the Outlook crashed.
From the event viewer, it only shows:
Faulting application name: OUTLOOK.EXE, version: 16.0.10730.20264, time stamp: 0x5c2577a8
Faulting module name: ntdll.dll, version: 10.0.17763.194, time stamp: 0xe8b54827
Exception code: 0xc0000374
Fault offset: 0x00000000000faf49
Faulting process id: 0xd24
Faulting application start time: 0x01d4b3a8d7b1a238
Faulting application path: C:\Program Files\Microsoft Office\root\Office16\OUTLOOK.EXE
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 7cb2212f-d173-4928-b5bf-6cdef15fc90c
Faulting package full name:
Faulting package-relative application ID:
Does anyone know how to fix it? It would be greatly appreciated.
We tried adding log-tracker in each point that Outlook may connect to in my IM provider app, but without any change to catch the detailed information when Outlook crashed.
UPDATE: 2019.1.29
NOTE this exception only happens on Outlook version >= 2013, it works well in Outlook 2010...
User contributions licensed under CC BY-SA 3.0