Next thing i try is to directly link the xerces code into the CvGameCoreDLL the same way we do it with Boost.Thread but i have no idea if that works and how long it takes.
I have to edit the makefile to do this and i never really used one of them.
That solution looks good i had to make small changes to xerces and right now i don't know if it is fully working but it looks good at the moment

This way we include xerces in the CvGameCoreDLL.dll and everything else stays the same.