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 #50659 is a reply to message #50651] Fri, 30 November 2018 09:01 Go to previous messageGo to previous message
peterh is currently offline  peterh
Messages: 46
Registered: November 2018
Location: Germany
Member
Hi,

I do not know how Windows terminates a process.
I have however done WIN32 programming years ago before, even Kernel debugging. (Debugging a kernel mode driver)
So I have ideas about it.
Windows might inject an ExitProcess call into the code of the process in order to terminate it with the least damage possible.
This would not work, if the process doesnt run (e.g. hangs in blocking IO in kernel mode).
Also this can be delayed, if heavy background activity happens, e.g. swapping and it could be necessary to swap portions of the debugged process in.
In these cases I can imagine, TerminateProcess would need time or might be impossible.

All the best,

Peter

[Updated on: Fri, 30 November 2018 09:04]

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: Sun Oct 25 06:02:15 CET 2020

Total time taken to generate the page: 0.01458 seconds