Page 1 of 4
1.05 Runtime c++ error
Posted: Sun Oct 02, 2011 6:40 pm
by Jajusha
Can't finish a game turn without the game crashing with a Runtime C++ error in the latest beta patch.
1.04 version works fine.
RE: 1.05 Runtime c++ error
Posted: Mon Oct 03, 2011 12:14 pm
by Helpless
When exactly it happens? Does it happen all the time with various saves?
RE: 1.05 Runtime c++ error
Posted: Mon Oct 03, 2011 1:00 pm
by Jajusha
I believe i solved the problem by re installing the game. The error poped up every time i tried to end a turn, but seems to be solved for now.
RE: 1.05 Runtime c++ error
Posted: Tue Oct 04, 2011 3:42 pm
by Jajusha
After 1 day of playing, the problem is back:
It happens everytime i press either "save game" or "end turn".
RE: 1.05 Runtime c++ error
Posted: Tue Oct 04, 2011 3:45 pm
by Helpless
Hm, it would be too big to be unnoticed by the test team. Do you have a free space on the disk drive?
RE: 1.05 Runtime c++ error
Posted: Tue Oct 04, 2011 3:59 pm
by Denniss
Or do you have Vista/Win7 and the game installed into UAC-protected c:\program files ?
->Might be a permission issue then.
RE: 1.05 Runtime c++ error
Posted: Tue Oct 04, 2011 6:38 pm
by Jajusha
550 GB free space on disk.
Win 7 and UAC disabled.
Edit: 1.04 works fine
RE: 1.05 Runtime c++ error
Posted: Wed Oct 05, 2011 5:40 am
by michaelm75au
Could be the old VC++ redistributables. The MS C++ libraries get patched every so often by Microsoft, and it caused considerable strife for Witp:AE and its tools. I keep my PC up to date with patches which meant that the dev environment got updated and the new libraries were installed into the EXE. To play the EXE, you then needed a minimum library version of the one I patched to.
I would suggest checking that you have the latest of these installed - I am guessing that you would only need 2008 or 2010. It depends on the library set used by WitE dev.
Attached is an example of last month's C++ versions.
Hope this is helpful.

RE: 1.05 Runtime c++ error
Posted: Wed Oct 05, 2011 6:07 am
by Apollo11
Hi all,
Nice to see you here Michael! [:)]
Leo "Apollo11"
RE: 1.05 Runtime c++ error
Posted: Wed Oct 05, 2011 6:26 am
by michaelm75au
Need a rest[:D]
RE: 1.05 Runtime c++ error
Posted: Wed Oct 05, 2011 9:28 am
by Denniss
With c++ runtime libraries you typically only nee the most recent version, on my Win7 x64 Prof version I have all in all 6 c++ runtime version, 3 in x86 and 3 in x64 (2005, 2008 and 2010).
Most recent version of 2005 x86 is 8.0.61001, 2008 and 2010 in the screenshot are the latest versions although 2008 has multiple old version installed as well.
RE: 1.05 Runtime c++ error
Posted: Wed Oct 05, 2011 10:37 am
by Jajusha
Updating the runtime 2010 libraries from 10.0.3 to 10.0.4 did not solve the problem [&:]
Windows 7 is up to date as well.
Direct X 11 up to date.
Graphic drivers up to date.

RE: 1.05 Runtime c++ error
Posted: Wed Oct 05, 2011 11:14 am
by michaelm75au
Might need to wait till Helpless signons on to see which VC++ version (2005,2008,2010) WitE uses.[&:]
RE: 1.05 Runtime c++ error
Posted: Wed Oct 05, 2011 11:29 am
by Jajusha
ORIGINAL: michaelm
Might need to wait till Helpless signons on to see which VC++ version (2005,2008,2010) WitE uses.[&:]
I can update them all and report on it...
RE: 1.05 Runtime c++ error
Posted: Wed Oct 05, 2011 11:54 am
by Jajusha
ORIGINAL: michaelm
Could be the old VC++ redistributables. The MS C++ libraries get patched every so often by Microsoft, and it caused considerable strife for Witp:AE and its tools. I keep my PC up to date with patches which meant that the dev environment got updated and the new libraries were installed into the EXE. To play the EXE, you then needed a minimum library version of the one I patched to.
I would suggest checking that you have the latest of these installed - I am guessing that you would only need 2008 or 2010. It depends on the library set used by WitE dev.
Attached is an example of last month's C++ versions.
Hope this is helpful.
Unless i'm missing something, i now have every VC++ redistributables as your screenshot, and my problem remains. Game crashes with Runtime error everytime i press "End turn" or "Save game"
RE: 1.05 Runtime c++ error
Posted: Wed Oct 05, 2011 12:19 pm
by Helpless
WITE is built with VC++ 2010
RE: 1.05 Runtime c++ error
Posted: Wed Oct 05, 2011 12:47 pm
by Jajusha
Got VC++ 2010 at 10.0.40219 version, and the problem persists.
RE: 1.05 Runtime c++ error
Posted: Wed Oct 05, 2011 12:54 pm
by Helpless
Do you have auto save enabled? Can you try to end turn with autosave disabled? Would it crash?
RE: 1.05 Runtime c++ error
Posted: Wed Oct 05, 2011 1:09 pm
by Jajusha
ORIGINAL: Helpless
Do you have auto save enabled? Can you try to end turn with autosave disabled? Would it crash?
Yes, i have it enabled.
Hmm, disabling auto save enables me to end turns properly, but trying to save manually still crashes the game.
RE: 1.05 Runtime c++ error
Posted: Wed Oct 05, 2011 1:11 pm
by Helpless
Ok, so the problem probably is with the disk access. You mentioned that it worked for some time after reinstall, right?