1.05 Runtime c++ error

Post bug reports and request support here.

Moderators: Joel Billings, elmo3, Sabre21

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

RE: 1.05 Runtime c++ error

Post by Jajusha »

Correct, going to re-check on UAC.

Edit: Yep, UAC is disabled.
User avatar
Helpless
Posts: 15786
Joined: Fri Aug 27, 2004 3:12 pm

RE: 1.05 Runtime c++ error

Post by Helpless »

Do you run at as administrator user? Can you check AV software?

There are some known issues with some external software. Ex. http://support.microsoft.com/kb/307817

You may also update VC++ 2008 as it may interfere.
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 run at as administrator user? Can you check AV software?

There are some known issues with some external software. Ex. http://support.microsoft.com/kb/307817

You may also update VC++ 2008 as it may interfere.

Tried running the game executable (War in the East, not autorun) with "run as administrator" and the behavior is the same. Crash with "Save game" or "End turn" if auto save is enabled.

Running AVG anti-virus always in the background, but will try to run the game with it disabled and will report on it.

Don't even have office installed (use Open Office), so, i doubt that is the problem.

VC++ 2008 is up to date as far as i can tell, can't find a newer version then 9.0.30729, am i missing something?

The game is running just fine if i switch to 1.04 version [&:]
User avatar
Helpless
Posts: 15786
Joined: Fri Aug 27, 2004 3:12 pm

RE: 1.05 Runtime c++ error

Post by Helpless »

VC++ 2008 is up to date as far as i can tell, can't find a newer version then 9.0.30729, am i missing something?

You have .4128 and newer is .6161
Pavel Zagzin
WITE/WITW/WITE-2 Development
Denniss
Posts: 9116
Joined: Thu Jan 10, 2002 10:00 am
Location: Germany, Hannover (region)

RE: 1.05 Runtime c++ error

Post by Denniss »

Most recent c++ versions x86:
http://download.microsoft.com/download/ ... st_x86.EXE (2005)
http://download.microsoft.com/download/ ... st_x86.exe (2008)
http://download.microsoft.com/download/ ... st_x86.exe (2010)

For unknown/strange reasons M$ decided to use the same name for all of them so users have to rename them if they want to keep 'em ....

Have you tried to change ggwite.exe to be always run with admin rights ?
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
PipFromSlitherine
Posts: 1503
Joined: Wed Jun 23, 2010 7:11 pm

RE: 1.05 Runtime c++ error

Post by PipFromSlitherine »

Where do you have the game installed to? It could be that you initially were able to run it after the install because you were still in an elevated permissions mode?

You could try reinstalling the game to a custom folder in the root and see if that helps. Or even into a folder in your My Documents folder - it should be certainly able to write to there.

Cheers

Pip
follow me on Twitter here
User avatar
Jajusha
Posts: 249
Joined: Tue Dec 21, 2010 7:52 pm

RE: 1.05 Runtime c++ error

Post by Jajusha »

Image

Game is always beeing run with admin rights

Image
Updated 2008 to .6161 version

Image
My account is the only account in the PC and has admin rights

Game still crashes when trying to save.

To Pip:
Game is currently in "C:\Matrix Games\Gary Grigsby's War in the East"
Going to try to install in My Documents and will 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 »

Running the game from "My documents" does not fix the problem.
User avatar
Jajusha
Posts: 249
Joined: Tue Dec 21, 2010 7:52 pm

RE: 1.05 Runtime c++ error

Post by Jajusha »

Uninstalled the game and made a clean install in a different directory.

1.0 Version is working with no crashes.
1.04.40 Version is working with no crashes. I can save, load games, end turns, no problems.
1.05.30 Version. First run everything is working. I can save, load game and end turns.
1.05.30 Version. Closed the game. Second run, crash at save game or end turn (with auto-save on).

From here on, the game just crashes at end turn/save game. If i roll back to 1.04, its back to working. Something changed between 1.04 and 1.05 that is in conflict with my machine/system. Any thing about my PC that i can provide to you folks that can help tracking down this problem?
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 »

I don't have the game available at the moment, but does it save into a different nameor slot each time.
In other words, is it saving over an existing game save or is it creating a new save file each time.

If it is saving over same name, you might try using a different name or deleting the old save before it saves the new one just to see if that makes any difference - might be a save access issue.
Michael
User avatar
Helpless
Posts: 15786
Joined: Fri Aug 27, 2004 3:12 pm

RE: 1.05 Runtime c++ error

Post by Helpless »

Something changed between 1.04 and 1.05 that is in conflict with my machine/system

The only big change which could be relevant here was increased size of the raw save data - battle details were added.
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: michaelm

I don't have the game available at the moment, but does it save into a different nameor slot each time.
In other words, is it saving over an existing game save or is it creating a new save file each time.

If it is saving over same name, you might try using a different name or deleting the old save before it saves the new one just to see if that makes any difference - might be a save access issue.

Each "auto save" is saving into a different name slot, something like "Save turn 002 6-26-1941 So". If i delete all the content in the Save folder, the game will still crash with the same error when trying to save.

Going to try with disabled AV...
traemyn
Posts: 135
Joined: Fri Jan 21, 2005 3:00 pm

RE: 1.05 Runtime c++ error

Post by traemyn »

During the AV-disable test, make sure to go into Task Manager and kill any services that relate to it. I don't know how many times at my job a user 'disables' their AV and it still leaves some sort of scanning service running.

Also, you could try download Process Monitor from www.microsoft.com and capture a log during the crash. You can filter on the WiTE .exe and just see if it gives you any clues as to what files the game is accessing right before the crash. Odd example, but I just used this the other day on Red Orchestra 2 and it pointed me to the cause of the crashing which was having a USB headset plugged into my machine (wacky I know).

Also check Windows Event Viewer for any relevant messages/errors during the time of the crash.
User avatar
Jajusha
Posts: 249
Joined: Tue Dec 21, 2010 7:52 pm

RE: 1.05 Runtime c++ error

Post by Jajusha »

ORIGINAL: traemyn

During the AV-disable test, make sure to go into Task Manager and kill any services that relate to it. I don't know how many times at my job a user 'disables' their AV and it still leaves some sort of scanning service running.

Also, you could try download Process Monitor from www.microsoft.com and capture a log during the crash. You can filter on the WiTE .exe and just see if it gives you any clues as to what files the game is accessing right before the crash. Odd example, but I just used this the other day on Red Orchestra 2 and it pointed me to the cause of the crashing which was having a USB headset plugged into my machine (wacky I know).

Also check Windows Event Viewer for any relevant messages/errors during the time of the crash.

Repeated it 3 times to make sure.
In Process Monitor, a normal save(In 1.04 version) looks like this:
...
CloseFile| C:\Program Files(x86)\WarEast\Dat\save\EventLog(Turn 001 6-22-1941 So).txt
Create File C:\Program Files(x86)\WarEast\Dat\save\Save turn 001 6-22-1941 So.sav
WriteFile C:\Program Files(x86)\WarEast\Dat\save\Save turn 001 6-22-1941 So.sav
...
And then it continues with WriteFile Operations

When the game crashes in 1.05, the log in the Process Monitor is this:
...
CloseFile| C:\Program Files(x86)\WarEast\Dat\save\EventLog(Turn 001 6-22-1941 So).txt
Create File C:\Program Files(x86)\WarEast\Dat\save\Save turn 001 6-22-1941 So.sav
QueryNameInformation File C:\Windows\SysWOW64\msvcr71.dll
...
And the log stops there just as the game crashed.

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

RE: 1.05 Runtime c++ error

Post by Jajusha »

Uninstalled my Anti-Virus, restarted the PC. 1.05 version still crashes at save game.
traemyn
Posts: 135
Joined: Fri Jan 21, 2005 3:00 pm

RE: 1.05 Runtime c++ error

Post by traemyn »

The Result for the msvcr71.dll line isn't File Not Found right?

Also, what is the version of the msvcr71.dll in that SysWow64 folder?
User avatar
Jajusha
Posts: 249
Joined: Tue Dec 21, 2010 7:52 pm

RE: 1.05 Runtime c++ error

Post by Jajusha »

ORIGINAL: traemyn

The Result for the msvcr71.dll line isn't File Not Found right?

Also, what is the version of the msvcr71.dll in that SysWow64 folder?

The result is SUCCESS

Version is 7.10.3052.4

User avatar
Helpless
Posts: 15786
Joined: Fri Aug 27, 2004 3:12 pm

RE: 1.05 Runtime c++ error

Post by Helpless »

Can you do such trick:

1. Copy WarInTheEast.exe from the 1.05 to some folder.
2. Copy Dat folder from 1.05 to some folder
3. Remove (uninstall) all WITE installation
4. Install 1.04
5. Copy (overwrite) WarIntheEast.exe and Dat folder to just installed WITE 1.04
6. Try to run and see if it is crashing on save.

This will let us test if there is any installer related issues.

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

Can you do such trick:

1. Copy WarInTheEast.exe from the 1.05 to some folder.
2. Copy Dat folder from 1.05 to some folder
3. Remove (uninstall) all WITE installation
4. Install 1.04
5. Copy (overwrite) WarIntheEast.exe and Dat folder to just installed WITE 1.04
6. Try to run and see if it is crashing on save.

This will let us test if there is any installer related issues.


Okies...
1) Copied WarInTheEast.exe and Full Dat(980MB) folder from 1.05 version to my desktop
2) Uninstalled WITE
3) Removed files that stayed behind during the uninstall (Manuals, Save files, WiteFontConfig and scripRec)
4) Installed WITE 1.0
5) Updated to 1.04.40
6) Moved WarInTheEast.exe and full Dat folder from desktop to WITE folder, overwriting everything.

Hmm, game version reports as 1.04.40, but i guess that's expected.
Game does crash at autosave at end of turn.

User avatar
Helpless
Posts: 15786
Joined: Fri Aug 27, 2004 3:12 pm

RE: 1.05 Runtime c++ error

Post by Helpless »

This becomes more thrilling than all AAR's..

Just in case, can you post your dxdiag?
Pavel Zagzin
WITE/WITW/WITE-2 Development
Post Reply

Return to “Tech Support”