You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"...The structured exception handling and termination handling mechanisms are integral parts of the system; they enable the system to be robust. You can use these mechanisms to create consistently robust and reliable applications..."
In case one has to deliver Windows professional solutions, the precondition of using this lib is: this lib must NOT throw C++ exceptions.
For some reason, MS DOCS are economical with the truth but one has no other source of info.
/kernel switch is the "hidden key". Start here please.
MS STL works quite brilliantly with the /kernel switch.
The resulting code is smaller and faster vs. not using the /kernel switch
We deliver every app built and developed using the /kernel switch
That confuses Windows C++ users and very often renders them in a state of denial; at first.
WIN32
Written in ANSI C, aka "C API"
Was not designed to use C++ exceptions.
Uses Windows native exceptions; aka SEH
6. That means: Windows native core DLL's do throw SEH exceptions.
7. That means: you catch software AND hardware errors in your code by processing SEH exceptions.
App must at the top-level catch any possible SEH exceptions and create a minidump file on that occasion.
1. Use Visual Studio to open the dmp file. It will allow you to pinpoint the source location where an error has happened. Like e.g. "stack overflow".
ps: Above predates WER, DbgHelp and other complications added by the Vista disaster on top of SEH. Those are rabbit holes. Be careful.
The text was updated successfully, but these errors were encountered:
SEH: There is no way around it.
"...The structured exception handling and termination handling mechanisms are integral parts of the system; they enable the system to be robust. You can use these mechanisms to create consistently robust and reliable applications..."
In case one has to deliver Windows professional solutions, the precondition of using this lib is: this lib must NOT throw C++ exceptions.
/kernel
switch is the "hidden key". Start here please./kernel
switch./kernel
switch/kernel
switchWIN32
ANSI C
, aka "C API"6. That means: Windows native core DLL's do throw SEH exceptions.
7. That means: you catch software AND hardware errors in your code by processing SEH exceptions.
1. Use Visual Studio to open the dmp file. It will allow you to pinpoint the source location where an error has happened. Like e.g. "stack overflow".
ps: Above predates WER, DbgHelp and other complications added by the Vista disaster on top of SEH. Those are rabbit holes. Be careful.
The text was updated successfully, but these errors were encountered: