> Are you sure you used the STL? > > http://www.microsoft.com/whdc/driver/kernel/KMcode.mspx > > Read the section about "Libraries": > > "Although much of the Standard Template Library is implemented as source > code in headers, it occasionally uses library functions or other > features that are not available or usable in the kernel environment." > > I'm guessing you must have had to do some serious mangling of the STL in > order to shoehorn it into your driver. Sounds like far more trouble than > it's worth.
The comment from Microsoft is correct. Basically you need to remove exceptions support and write custom allocators. I have been unsucessful with the Microsoft STL, I therefore used STLPort. The problem with the provided STL headers is that there is a #define nightmare for C++/CLI compatibility. I think we are drafting toward OT...