c.fe said:I can just confirm that it crashes, too, when I use VC 2005. And the dll is 500 KB smaller.
I'm nevertheless impressed how you solved the compile problem. As I see it there is no direct connection between the error and the code line![]()
The dll I got was exactly the same size (in KBs at least, didn't check the bytes) as original. I might play around with it on the weekend to see if there is anything else we can do other than change the compiler.
And I killed most of the easter weekend to get the walkaround, so there is really nothing to be impressed about

One more thing about this, is that it actually crashes when loading XMLs not Python. If you enable logging, you can see that it crashes somewhere in between CIV4BuildInfos.xml and Units/CIV4UnitInfos.xml