Hang when starting application
Posted: 03 Sep 2015 09:10
I have seen some application hangs lately (not sure if it's a recent thing, maybe I just started noticing). It happen when starting a process from XYplorer which itself tries to access a file it can't access. For example: my software starts Excel and does some COM interop with it. When I break into the debugger while I have such a handle open, and then try to open an Excel file from XYplorer, XYplorer hangs until I free all Excel handles (i.e., when I stop the debugger).
I realize that people using debuggers *and* doing COM interop is probably a too small % of your users to care about, but it seems to me that there is some underlying issue where opening files isn't as 'asynchronous' as it could/should be. If the Excel file I'm trying to open really is inaccessible (from the pov of XYplorer), then a message (maybe after some timeout period) would be in order.
Thanks.
I realize that people using debuggers *and* doing COM interop is probably a too small % of your users to care about, but it seems to me that there is some underlying issue where opening files isn't as 'asynchronous' as it could/should be. If the Excel file I'm trying to open really is inaccessible (from the pov of XYplorer), then a message (maybe after some timeout period) would be in order.
Thanks.