>>This could be the problem (network connection). Unfortunately, the customer won't let me connect to a user PC and read the Windows event viewer. I have to learn how to make the app deal with these type of errors on my own.
>
>Why don't you use a loader? Then the exe would be copied to the user's local drive, somewhere in %appdata%\dmitry\temp or some such folder, and any further decisions of M$ in regards of "this exe is staying open too long and holding up the handle... lemme close it for a while" would become irrelevant. No network, no problem.
What loader would you recommend?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham