Well OK then, I believe the runtime source code is available with the MSDN
Universal subscription. My past experience with this is that translating
from the user mode rtl support to kernel mode is not a big deal. However
exception handling gets a bit fuzzy when we are talking about interrupt
driven execution threads. I’m not sure I understand at all what it means to
handle a C++ exception in this case. The other issue is stack bloat, and
here I am sure that exception handling causes a major hit in stack usage.
This alone may make the ‘port it into the kernel’ approach a non-starter.
The original poster ought to analyze the library’s stack usage in user mode
before bothering with moving it into the kernel.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Max Lyadvinsky
Sent: Tuesday, September 04, 2001 9:43 AM
To: NT Developers Interest List
Subject: [ntdev] RE: C++ exception handlers
say he does not want to remove exception handling. the matter is that he
needs to port a huge library, that uses C++ exceptions to kernel. There are
three ways, to redesign the library (too long), leave lib in user mode and
call it when needed from kernel (too awry), or implement several routines
_RTC_Xxx, _CxxFrameHandler etc.
It isn’t supported. This is obvious. But it is not impossible, I’m sure.
Just asking for advice how to do this if someone else have already
implemented it.
Regards,
Max
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Roddy, Mark
Sent: Tuesday, September 04, 2001 4:24 PM
To: NT Developers Interest List
Subject: [ntdev] RE: C++ exception handlers
You have no runtime support for this in the kernel at all, so you will have
to implement the entire runtime library support. It would be better to
remove exception handling.
-----Original Message-----
From: Dennis S. Dyatlov [mailto:xxxxx@acronis.com]
Sent: Monday, September 03, 2001 10:51 AM
To: NT Developers Interest List
Subject: [ntdev] C++ exception handlers
Hello All !
Does anybody have any experience into writting C++ exception handlers for NT
kernel mode. If so please help.
Thanx,
Dennis.
You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: xxxxx@acronis.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: xxxxx@hollistech.com To
unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com