I\'m getting a weird access violation at the end of my main whose cause I\'m having some difficulties finding.
When shutting down my application I get an access violatio
I believe you're experiencing the same bug I did in the MSVC10 runtime. To my understanding, it is caused by the runtime deleting a global facet when a DLL unloads, and then deleting it again when the process ends. If you link everything statically, it shouldn't happen. It also won't happen in MSVC9, either with static or shared linkage.