11.25. I'm having problems using MFC 4.0 and the STL, what could be wrong?

The trick is to include "new.h" (and also "iostream.h" for similar reasons) before you include any stl headers. For example:

#include <new.h>
#include <iostream.h>
 
namespace std
{
    #include <map.h>
}

<dave_bickford@compuware.com>, mfc-l