1.05 Runtime c++ error

Post bug reports and request support here.

Moderators: Joel Billings, Sabre21, elmo3

User avatar
Jajusha
Posts: 249
Joined: Tue Dec 21, 2010 7:52 pm

1.05 Runtime c++ error

Post 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.
User avatar
Helpless
Posts: 15786
Joined: Fri Aug 27, 2004 3:12 pm

RE: 1.05 Runtime c++ error

Post by Helpless »

When exactly it happens? Does it happen all the time with various saves?
Pavel Zagzin
WITE/WITW/WITE-2 Development
User avatar
Jajusha
Posts: 249
Joined: Tue Dec 21, 2010 7:52 pm

RE: 1.05 Runtime c++ error

Post 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.
User avatar
Jajusha
Posts: 249
Joined: Tue Dec 21, 2010 7:52 pm

RE: 1.05 Runtime c++ error

Post by Jajusha »

After 1 day of playing, the problem is back:

Image

It happens everytime i press either "save game" or "end turn".
User avatar
Helpless
Posts: 15786
Joined: Fri Aug 27, 2004 3:12 pm

RE: 1.05 Runtime c++ error

Post 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?
Pavel Zagzin
WITE/WITW/WITE-2 Development
Denniss
Posts: 9118
Joined: Thu Jan 10, 2002 10:00 am
Location: Germany, Hannover (region)

RE: 1.05 Runtime c++ error

Post by Denniss »

Or do you have Vista/Win7 and the game installed into UAC-protected c:\program files ?
->Might be a permission issue then.
WitE dev team - (aircraft data)
WitE 1.08+ dev team (data/scenario maintainer)
WitW dev team (aircraft data, partial data/scenario maintainer)
WitE2 dev team (aircraft data)
User avatar
Jajusha
Posts: 249
Joined: Tue Dec 21, 2010 7:52 pm

RE: 1.05 Runtime c++ error

Post by Jajusha »

550 GB free space on disk.

Win 7 and UAC disabled.

Edit: 1.04 works fine
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: 1.05 Runtime c++ error

Post 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.

Image
Attachments
cdistribfiles.jpg
cdistribfiles.jpg (231.42 KiB) Viewed 1866 times
Michael
User avatar
Apollo11
Posts: 25162
Joined: Thu Jun 07, 2001 8:00 am
Location: Zagreb, Croatia
Contact:

RE: 1.05 Runtime c++ error

Post by Apollo11 »

Hi all,

Nice to see you here Michael! [:)]


Leo "Apollo11"
Image

Prior Preparation & Planning Prevents Pathetically Poor Performance!

A & B: WitW, WitE, WbtS, GGWaW, GGWaW2-AWD, HttR, CotA, BftB, CF
P: UV, WitP, WitP-AE
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: 1.05 Runtime c++ error

Post by michaelm75au »

Need a rest[:D]
Michael
Denniss
Posts: 9118
Joined: Thu Jan 10, 2002 10:00 am
Location: Germany, Hannover (region)

RE: 1.05 Runtime c++ error

Post 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.
WitE dev team - (aircraft data)
WitE 1.08+ dev team (data/scenario maintainer)
WitW dev team (aircraft data, partial data/scenario maintainer)
WitE2 dev team (aircraft data)
User avatar
Jajusha
Posts: 249
Joined: Tue Dec 21, 2010 7:52 pm

RE: 1.05 Runtime c++ error

Post 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.

Image
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: 1.05 Runtime c++ error

Post by michaelm75au »

Might need to wait till Helpless signons on to see which VC++ version (2005,2008,2010) WitE uses.[&:]
Michael
User avatar
Jajusha
Posts: 249
Joined: Tue Dec 21, 2010 7:52 pm

RE: 1.05 Runtime c++ error

Post 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...
User avatar
Jajusha
Posts: 249
Joined: Tue Dec 21, 2010 7:52 pm

RE: 1.05 Runtime c++ error

Post 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.

Image

Image

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"
User avatar
Helpless
Posts: 15786
Joined: Fri Aug 27, 2004 3:12 pm

RE: 1.05 Runtime c++ error

Post by Helpless »

WITE is built with VC++ 2010
Pavel Zagzin
WITE/WITW/WITE-2 Development
User avatar
Jajusha
Posts: 249
Joined: Tue Dec 21, 2010 7:52 pm

RE: 1.05 Runtime c++ error

Post by Jajusha »

Got VC++ 2010 at 10.0.40219 version, and the problem persists.
User avatar
Helpless
Posts: 15786
Joined: Fri Aug 27, 2004 3:12 pm

RE: 1.05 Runtime c++ error

Post by Helpless »

Do you have auto save enabled? Can you try to end turn with autosave disabled? Would it crash?
Pavel Zagzin
WITE/WITW/WITE-2 Development
User avatar
Jajusha
Posts: 249
Joined: Tue Dec 21, 2010 7:52 pm

RE: 1.05 Runtime c++ error

Post 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.
User avatar
Helpless
Posts: 15786
Joined: Fri Aug 27, 2004 3:12 pm

RE: 1.05 Runtime c++ error

Post by Helpless »

Ok, so the problem probably is with the disk access. You mentioned that it worked for some time after reinstall, right?
Pavel Zagzin
WITE/WITW/WITE-2 Development
Post Reply

Return to “Tech Support”