Page 1 of 1

problem on x64 Windows

PostPosted: Thu Nov 06, 2008 5:58 am
by rakslice
I just tried to run the latest windows build posted to sf.net (20070604) on my system, which is running XP x64, and I got the "This application has failed to start because the application configuration is incorrect" message that was mentioned on the old forum.

After a quick web search, I found a suggestion:
http://www.apexsql.com/knowledgebase/2007/07/troubleshooting-this-application-has.htm

I ran MS' "CorFlags Conversion Tool" from the .NET 2.0 SDK on the freetrain.exe binary with the /32BIT+ option, as directed.

From what I understand, this flags a .NET 2.x+ app to run on 32-bit CLR rather than the 64-bit one that it would default to on 64-bit Windows. (There's a discussion of reasons why bugs might be specific to the 32- or 64-bit CLRs at http://msdn.microsoft.com/en-us/library/ms241064.aspx if you're interested.)

Anyway, after the flag change, freetrain.exe launches fine under XP x64,... but then refuses to draw anything in the map window. D'oh!

-AT

Re: problem on x64 Windows

PostPosted: Tue Nov 11, 2008 9:10 am
by freegamer
Darn. Well, nice try. We are really short on C#ers at the moment. It looks like jendave is busy and he'd done all the recent work on FreeTrain. I should start asking around again but I'm overcommitted atm... will try and find time to spread the word before the end of this year.