I developed a Microsoft Word Add-in in Visual Studio using VSTO
. I can debug the Add-in/Word on several computers using VS. However, on two company issued laptops, debugging stops with the following log right after the Word splash screen appears.
'WINWORD.EXE' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'
The program '[2836] WINWORD.EXE: Managed (v4.0.30319)' has exited with code -1073740791 (0xc0000409).
So far the only thing I could find is that the exit code relates to a buffer overflow. I'm wondering if some preinstalled company software could be causing the issue. I can install and run my add-in with the generated installer, so the problem is focused on debugging in VS.
User contributions licensed under CC BY-SA 3.0