Again, this works for me, except I did not touch the precompiled headers. Try keeping that stuff out of the precompiled headers.

More importantly, it does not seem like a good idea to use a char pointer as a key in a map, as this can have some unexpected side effects.