Click here to Skip to main content
15,891,621 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: queues to find minimum time to serve all. Pin
Richard MacCutchan22-Oct-20 0:16
mveRichard MacCutchan22-Oct-20 0:16 
QuestionRe: queues to find minimum time to serve all. Pin
David Crow22-Oct-20 3:58
David Crow22-Oct-20 3:58 
QuestionAbort Retry and Ignore and SEH Pin
ForNow19-Oct-20 15:57
ForNow19-Oct-20 15:57 
AnswerRe: Abort Retry and Ignore and SEH Pin
Victor Nijegorodov19-Oct-20 20:49
Victor Nijegorodov19-Oct-20 20:49 
AnswerRe: Abort Retry and Ignore and SEH Pin
Richard MacCutchan19-Oct-20 21:21
mveRichard MacCutchan19-Oct-20 21:21 
GeneralRe: Abort Retry and Ignore and SEH Pin
trønderen19-Oct-20 22:28
trønderen19-Oct-20 22:28 
GeneralRe: Abort Retry and Ignore and SEH Pin
ForNow20-Oct-20 1:41
ForNow20-Oct-20 1:41 
GeneralRe: Abort Retry and Ignore and SEH Pin
trønderen20-Oct-20 5:20
trønderen20-Oct-20 5:20 
This machine I mentioned was not a Windows machine, and not an Intel architecture. At instruction / register level, you cannot expect any one-to-one mapping of concepts.

Also, you cannot map software concepts, like an exception handler, directly onto the interrupt system of every different CPU architecture. Often, a compiler will add a lot of its own to the basic hardware mechanisms. E.g. most exception mechanisms identify the proper handler by the static nesting, but that is within one function. Languages with nested function definitions, "Pascal style", may define handler identification and/or propagation by the overall nesting structure, requiring the static link in the stack frame to be followed. Unless you know every tiny detail of how the compiler generates code, and the runtime handler library (which may be written in assembly code and diverge from the compiler's code generation style), manipulating return addresses and other register contents is likely to mess up your system completely. (And don't forget that hardware fault handlers may be running in privileged mode, allowing you to really mess up your system!)

So, if you work at software SEH level, stick to that level, and don't mess with registers and return addresses.

(My comment was meant as an aside to the "Abort, Retry or Ignore?" not existing per se - just to illustrate that you can get close. I didn't intend it as a viable solution to your problem!)
GeneralRe: Abort Retry and Ignore and SEH Pin
ForNow20-Oct-20 1:42
ForNow20-Oct-20 1:42 
GeneralRe: Abort Retry and Ignore and SEH Pin
Richard MacCutchan20-Oct-20 2:50
mveRichard MacCutchan20-Oct-20 2:50 
GeneralRe: Abort Retry and Ignore and SEH Pin
ForNow20-Oct-20 3:14
ForNow20-Oct-20 3:14 
GeneralRe: Abort Retry and Ignore and SEH Pin
Greg Utas20-Oct-20 3:32
professionalGreg Utas20-Oct-20 3:32 
GeneralRe: Abort Retry and Ignore and SEH Pin
ForNow20-Oct-20 5:10
ForNow20-Oct-20 5:10 
GeneralRe: Abort Retry and Ignore and SEH Pin
Greg Utas20-Oct-20 6:11
professionalGreg Utas20-Oct-20 6:11 
GeneralRe: Abort Retry and Ignore and SEH Pin
trønderen20-Oct-20 5:40
trønderen20-Oct-20 5:40 
GeneralRe: Abort Retry and Ignore and SEH Pin
Greg Utas20-Oct-20 6:19
professionalGreg Utas20-Oct-20 6:19 
QuestionEACCES file from Ftpfolder Pin
ForNow16-Oct-20 3:47
ForNow16-Oct-20 3:47 
SuggestionRe: EACCES file from Ftpfolder Pin
Richard MacCutchan16-Oct-20 4:05
mveRichard MacCutchan16-Oct-20 4:05 
GeneralRe: EACCES file from Ftpfolder Pin
ForNow16-Oct-20 4:19
ForNow16-Oct-20 4:19 
GeneralRe: EACCES file from Ftpfolder Pin
Richard MacCutchan16-Oct-20 5:08
mveRichard MacCutchan16-Oct-20 5:08 
GeneralRe: EACCES file from Ftpfolder Pin
ForNow16-Oct-20 5:44
ForNow16-Oct-20 5:44 
GeneralRe: EACCES file from Ftpfolder Pin
Richard MacCutchan16-Oct-20 5:46
mveRichard MacCutchan16-Oct-20 5:46 
QuestionRPC interface does not work correctly Pin
CopWorker13-Oct-20 0:05
CopWorker13-Oct-20 0:05 
AnswerRe: RPC interface does not work correctly Pin
Victor Nijegorodov13-Oct-20 0:49
Victor Nijegorodov13-Oct-20 0:49 
GeneralRe: RPC interface does not work correctly Pin
CopWorker13-Oct-20 1:34
CopWorker13-Oct-20 1:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.