Click here to Skip to main content
14,700,221 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: queues to find minimum time to serve all. Pin
Richard MacCutchan22-Oct-20 1:16
mveRichard MacCutchan22-Oct-20 1:16 
QuestionRe: queues to find minimum time to serve all. Pin
David Crow22-Oct-20 4:58
MemberDavid Crow22-Oct-20 4:58 
QuestionAbort Retry and Ignore and SEH Pin
ForNow19-Oct-20 16:57
MemberForNow19-Oct-20 16:57 
AnswerRe: Abort Retry and Ignore and SEH Pin
Victor Nijegorodov19-Oct-20 21:49
MemberVictor Nijegorodov19-Oct-20 21:49 
AnswerRe: Abort Retry and Ignore and SEH Pin
Richard MacCutchan19-Oct-20 22:21
mveRichard MacCutchan19-Oct-20 22:21 
GeneralRe: Abort Retry and Ignore and SEH Pin
trønderen19-Oct-20 23:28
Membertrønderen19-Oct-20 23:28 
GeneralRe: Abort Retry and Ignore and SEH Pin
ForNow20-Oct-20 2:41
MemberForNow20-Oct-20 2:41 
GeneralRe: Abort Retry and Ignore and SEH Pin
trønderen20-Oct-20 6:20
Membertrønderen20-Oct-20 6: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 2:42
MemberForNow20-Oct-20 2:42 
GeneralRe: Abort Retry and Ignore and SEH Pin
Richard MacCutchan20-Oct-20 3:50
mveRichard MacCutchan20-Oct-20 3:50 
GeneralRe: Abort Retry and Ignore and SEH Pin
ForNow20-Oct-20 4:14
MemberForNow20-Oct-20 4:14 
GeneralRe: Abort Retry and Ignore and SEH Pin
Greg Utas20-Oct-20 4:32
professionalGreg Utas20-Oct-20 4:32 
GeneralRe: Abort Retry and Ignore and SEH Pin
ForNow20-Oct-20 6:10
MemberForNow20-Oct-20 6:10 
GeneralRe: Abort Retry and Ignore and SEH Pin
Greg Utas20-Oct-20 7:11
professionalGreg Utas20-Oct-20 7:11 
GeneralRe: Abort Retry and Ignore and SEH Pin
trønderen20-Oct-20 6:40
Membertrønderen20-Oct-20 6:40 
GeneralRe: Abort Retry and Ignore and SEH Pin
Greg Utas20-Oct-20 7:19
professionalGreg Utas20-Oct-20 7:19 
QuestionEACCES file from Ftpfolder Pin
ForNow16-Oct-20 4:47
MemberForNow16-Oct-20 4:47 
SuggestionRe: EACCES file from Ftpfolder Pin
Richard MacCutchan16-Oct-20 5:05
mveRichard MacCutchan16-Oct-20 5:05 
GeneralRe: EACCES file from Ftpfolder Pin
ForNow16-Oct-20 5:19
MemberForNow16-Oct-20 5:19 
GeneralRe: EACCES file from Ftpfolder Pin
Richard MacCutchan16-Oct-20 6:08
mveRichard MacCutchan16-Oct-20 6:08 
GeneralRe: EACCES file from Ftpfolder Pin
ForNow16-Oct-20 6:44
MemberForNow16-Oct-20 6:44 
GeneralRe: EACCES file from Ftpfolder Pin
Richard MacCutchan16-Oct-20 6:46
mveRichard MacCutchan16-Oct-20 6:46 
QuestionRPC interface does not work correctly Pin
CopWorker13-Oct-20 1:05
MemberCopWorker13-Oct-20 1:05 
AnswerRe: RPC interface does not work correctly Pin
Victor Nijegorodov13-Oct-20 1:49
MemberVictor Nijegorodov13-Oct-20 1:49 
GeneralRe: RPC interface does not work correctly Pin
CopWorker13-Oct-20 2:34
MemberCopWorker13-Oct-20 2: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.