Hello,
How does one handle exceptions in device drivers. My driver is a hybrid C/C++ driver {Meaning the modules are .cpp and have a “extern ‘c’” around the code which needs the C namespace…
How do you get BUILD to build with C++ exceptions enabled?
Later,
MIchael Uman
The world of Kernel Mode programming has it’s own SEH. Look for
try/exception in the DDK.
-----Original Message-----
From: Michael Uman [mailto:xxxxx@sonic.com]
Sent: Tuesday, October 03, 2000 2:41 PM
To: NT Developers Interest List
Subject: [ntdev] How to use try/catch block in driver…
Hello,
How does one handle exceptions in device drivers. My driver is a hybrid
C/C++ driver {Meaning the modules are .cpp and have a “extern ‘c’” around
the code which needs the C namespace…
How do you get BUILD to build with C++ exceptions enabled?
Later,
MIchael Uman
Sorry, you just can’t use C++ exception handling in kernel-mode.
The runtime support is in libraries that have user-mode API dependencies.
As mentioned before, you can use structured exception handling, but the
effect is not quite the same.
Dave Cox
Hewlett-Packard Co.
HPSO/SMSO (Santa Barbara)
https://ecardfile.com/id/Dave+Cox
-----Original Message-----
From: Michael Uman [mailto:xxxxx@sonic.com]
Sent: Tuesday, October 03, 2000 2:41 PM
To: NT Developers Interest List
Subject: [ntdev] How to use try/catch block in driver…
Hello,
How does one handle exceptions in device drivers. My driver is a hybrid
C/C++ driver {Meaning the modules are .cpp and have a “extern ‘c’” around
the code which needs the C namespace…
How do you get BUILD to build with C++ exceptions enabled?
Later,
MIchael Uman