Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » I keep getting the same "cannot open exe for writing" error...
Re: I keep getting the same "cannot open exe for writing" error... [message #50619 is a reply to message #50618] Tue, 27 November 2018 08:54 Go to previous messageGo to previous message
peterh is currently offline  peterh
Messages: 108
Registered: November 2018
Location: Germany
Experienced Member
Then TerminateChildProcesses() might be a better solution if it doesnt block.

In any case terminating an unknown eventually buggy process which can have childprocesses, threads and pending IO can go wrong.

Cleanly terminating is without problems in simple cases and might be impossible in complicated cases.
Compromises are necessary. Terminating is always an emergency brake.

I must admit, I am unable to write this debugger and I value and respect your work.
I have only focussed to this problem and went through the code step by step and had an idea what to look for: uninitialized variables, dangling pointers, buffer overflows, race conditions.
And in this case it seems to be a race condition.

BTW, if there are childprocesses, then there is the question if it is good to terminate them. Possibly they can be terminated with the taskmanager or Sysinternals Process explorer or a debugger can been attached to them?

All the best

[Updated on: Tue, 27 November 2018 09:11]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: error: expected unqualified-id before '=' token
Next Topic: clang or MinGW
Goto Forum:
  


Current Time: Fri Mar 29 14:01:11 CET 2024

Total time taken to generate the page: 0.01385 seconds