STL in minifilter

Hi all,

Can I use STL in my minifilter.I read somewhere its difficult to get exact
object code if one use C++ features in kernel mode operations.

Kindly help me.

Thanks and regards,

Ruhina Parveen

Do not use STL in any kernel driver. It is not designed for kernel use at all. For instance, it cannot handle allocation failures without throwing a C++ exception and c++ exceptions are not supported in KM.

d


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of ruhina
Sent: Monday, March 13, 2006 12:08 AM
To: Kernel Debugging Interest List
Subject: [windbg] STL in minifilter

Hi all,

Can I use STL in my minifilter.I read? somewhere its difficult to get exact object code if one use C++ features in kernel mode operations.
Kindly help me.

Thanks and regards,
Ruhina Parveen


You are currently subscribed to windbg as: unknown lmsubst tag argument: β€˜β€™
To unsubscribe send a blank email to xxxxx@lists.osr.com

ruhina wrote:

Hi all,

Can I use STL in my minifilter.I read somewhere its difficult to get
exact object code if one use C++ features in kernel mode operations.

Kindly help me.

If what you needed was collections you should consider writing your own
collections for Kernel mode, it’s worth it (especially when you consider
the ones provided :s).

–

Edouard