SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > Silent Hunter 5
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 05-06-10, 05:03 PM   #1
Seeadler
Pacific Aces Dev Team
 
Join Date: Mar 2001
Location: Northern Germany
Posts: 1,096
Downloads: 169
Uploads: 0


Default Silent Hunter 5 + VC++ 2008 Redistributable 9.0.30729.4974

*Edit*

Thread title changed!

It's not the .Net 4.0 framework which is cause a CTD after loading in SH5, the new Visual C++ 2008 Redistributable 9.0.30729.4974 runtime files produce this error. These new runtime files could be installed be upcoming Windows apps! Thanks to SubV, who had found that!

Quote:
Warning: Silent Hunter 5 is not compatible with the. NET Framework 4.0

Today I installed on my gaming/internet PC the new .NET Framework 4.0 because I had to test a .NET 4.0 application for one of my customer on the network and internet.

After the installation, each time SH5 crashes to desktop with an undefined error after the loading screen of a savegame or a single mission. The last thing I could hear was the click-click sound of the SH5 interface, then SH5 crashed. The SH5 museum worked as it should.

After the deinstall of .NET 4.0, SH5 runs again without this error! To proof I installed .NET 4.0 again and the crash to desktop was back, again deinstalled .NET 4.0 and the game starts after loading a game.

I guess it is the IronPython.dll which cause this error because it is also an interface for SH5 to .NET Framework, and this dll is probably no longer compatible with the v4.0 runtime of the Framework

The current IronPython package which is for .NET4.0 was released last month on April 12., perhaps the SH5 project must be compiled/linked with the current libs of this release. No idea whether the new patch also deals with this issue.
__________________
--
Vapor-ware is always easier to sell because there's no limit what it can do!

Last edited by Seeadler; 05-07-10 at 08:53 AM.
Seeadler is offline   Reply With Quote
Old 05-06-10, 05:47 PM   #2
severniae
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Strange, because I thought that all new versions of dotnet contained backwards compatibility for previous dotnet releases.

Do you get any particular errors with the CTD?
  Reply With Quote
Old 05-06-10, 07:24 PM   #3
Seeadler
Pacific Aces Dev Team
 
Join Date: Mar 2001
Location: Northern Germany
Posts: 1,096
Downloads: 169
Uploads: 0


Default

Quote:
Originally Posted by severniae View Post
Strange, because I thought that all new versions of dotnet contained backwards compatibility for previous dotnet releases.
.NET yes, all my .NET apps works with also with this new 4.0 release but I assume the IronPython.dll or the IronMath.dll used by SH5 did not

The devs of IronPython released a newer version last month which has the compatibility with 4.0

Quote:
Originally Posted by IronPython website
April 12, 2010
IronPython 2.6.1 Final was released, supporting both .NET 2.0 SP1 and .NET 4.0 RTM.
Quote:
Originally Posted by severniae View Post
Do you get any particular errors with the CTD?
No only the a windows message box which tells me that "Silent Hunter 5 no longer works"
__________________
--
Vapor-ware is always easier to sell because there's no limit what it can do!
Seeadler is offline   Reply With Quote
Old 05-07-10, 03:58 AM   #4
SubV
Planesman
 
Join Date: Aug 2007
Location: Russia
Posts: 187
Downloads: 182
Uploads: 4
Default

@Seeadler

Recently, I tried the new Visual Studio 2010 (which is bundled with .NET Framework 4.0 and updated Visual C++ runtime libraries).

I've got the same problem as yours, CTD when loading save game or starting a single mission. So I tried to investigate this problem and finally found what causes the CTD. It's not .NET 4.0 itself, but Visual C++ 2008 redistributable 9.0.30729.4974.

Uninstall it via Control panel, and everything will work fine again.
SubV is offline   Reply With Quote
Old 05-07-10, 06:28 AM   #5
Seeadler
Pacific Aces Dev Team
 
Join Date: Mar 2001
Location: Northern Germany
Posts: 1,096
Downloads: 169
Uploads: 0


Default

Quote:
Originally Posted by SubV View Post
It's not .NET 4.0 itself, but Visual C++ 2008 redistributable 9.0.30729.4974.
thanks for this info, I will investigate this at the weekend if some of my customers apps also installs these redistributables.
__________________
--
Vapor-ware is always easier to sell because there's no limit what it can do!
Seeadler is offline   Reply With Quote
Old 05-07-10, 08:36 AM   #6
Seeadler
Pacific Aces Dev Team
 
Join Date: Mar 2001
Location: Northern Germany
Posts: 1,096
Downloads: 169
Uploads: 0


Default

@SubV
You are right, it's the Visual C++ 2008 Redistributable 9.0.30729.4974 that caused the crash. One of the Apps I had to test installed the new runtime files alongside to the .Net 4 framework.
__________________
--
Vapor-ware is always easier to sell because there's no limit what it can do!
Seeadler is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:46 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.