TCalcX/Net framework 2/Vista 64

#1
I currently use TCalcX on XP but have transferred it to my Vista 64 bit system. It fails with:



I tried to install Net Framework 2.0 but it is not compatible with x64, what do I do :confused:

George
 
#2
.NET 2.0 is compatible with x64. It has to be as it is part of .NET 3.0 and hence comes preinstalled on your Vista system.

Yes, I know this does not solve your problem, but at least it might stop you from looking the wrong place for a solution.
 

rhumbaflappy

Moderator
Staff member
Resource contributor
#4
Hi George.

TCalcX uses the initial SDK's SimConnect.dll.

As far as I know, this is not an issue with TCalcX or FSX. This is an issue with the file structure or side-by-side usage in your computer.

Your picture shows a folder that should contain the actual file SimConnect.dll.

Viewing the properties of this file should show it to be version 10.0.60905.0

You might try to copy this version of the SimConnect.dll to the same folder as TCalcX, and see if that works. If it does, then I can confirm this is a problem with the way your computer is using Simconnect as designed.

Dick
 
#5
Thanks Dick,

I copied Simconnect.dll to the same folder as TCalcX and it still fails:







I've also tried running TCalcX in XP compatibility mode with the same result. Note I also have UAC switched off.

Unfortunately, the only other simconnect application I have at the moment is FSUIPC. This works, but it uses the SP2 version (61259.0).

I am completely baffled, presumably if I write my own application it will also use the latest version of SimConnect.dll.

George
 
Last edited:

rhumbaflappy

Moderator
Staff member
Resource contributor
#8
Hi George.

In that TCalcX fails with the DLL in the same folder, that indicates your WinSxS is correctly installed ( because it should override even local dll placement ).

Perhaps someone else with Vista64 could confirm the problem.

I see you have 3 versions of Simconnect on your computer... which version of FSX are you running ( FSX, SP1, Acceleration )?

Dick
 
#9
Hi Dick,

The three versions will be RTM, SP1 and SP2, I am running FSX/Acceleration/SP2.

I created a simple command window app with VC++ 2005 on my XP machine, copied it to the Vista machine and it worked fine:



I have no idea why TCalcX doesn't work.

George
 

rhumbaflappy

Moderator
Staff member
Resource contributor
#10
Hi George.

I'm wondering if there is a problem with Acceleration and the original ( RTM ) Simconnect.dll

The app you made is from the Acceleration SDK's Simconnect?

Unless it was made from the RTM SDK's Simconnect, and is a 32-bit program, it wouldn't be the same.

I don't believe this is a .NET problem.

I don't have Vista-64, and I don't have Acceleration ( nor intend to have it ).

At Simflight Forums, Pete Dowson's forum, there is another Vista-64 thread:

http://forums.simflight.com/viewtopic.php?f=54&t=66190

Cruising the web, there does seem to be some issues between FSX and Vista.

TCalcX should "work" without FSX started... it just won't let you connect. Does that work?

Also, check this out-> Microsoft .NET Framework Version 2.0 Redistributable Package (x64)


http://www.microsoft.com/downloads/...00-ACF8-4FA1-AFFB-40E78D788B00&displaylang=en

And again, reinstalling the RTM SDK's Simconnect MSI file may work. It;s found here, but in my XP-32 folders:

C:\Program Files\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Core Utilities Kit\SimConnect SDK\LegacyInterfaces\FSX-RTM

Dick
 
Last edited:

rhumbaflappy

Moderator
Staff member
Resource contributor
#11
Hi George.

I mentioned reinstalling the RTM SimConnect msi as per the TCalcX sticky:

http://www.fsdeveloper.com/forum/showthread.php?t=4273

This would make the third time I have had people not able to run the program... and receive a .NEt message as you described. I'm hoping a re-installation of the RTM Simconnect.dll may be the solution.

Also, apparently there needs to be a special 64-bit .NET runtime used to allow even 32-bit apps to run under XP-64 or Vista-64.

Dick
 
#12
Thanks Dick,

The app was made by linking with SimConnect.lib in the latest (SP2) SDK. It is a W32 console application (not .NET) but it works in Vista64. I have extended it to output the base directory and filename:



Given that you kindly supplied the code for TCalcX, I will write a C++ dialog based app with the same edit fields as TCalcX to see whether that will work in Vista64.

Unfortunately, the only person I know who really understands SimConnect is Pete Dowson and he is on holiday until the beginning of December :(

George
 
Last edited:
#13
I opened up the source and recompiled it on my Vista 64bit machine. Also I reinstalled the RTM version of SimConnect, if you have the SDK there is a folder that contains all the files for previous versions (\Microsoft Flight Simulator X SDK\SDK\Core Utilities Kit\SimConnect SDK\LegacyInterfaces). To be honest I can't remember which change did it, but it now works.

I've attached the copy that I built, see if that does it?
 

Attachments

Last edited:

rhumbaflappy

Moderator
Staff member
Resource contributor
#15
I opened up the source and recompiled it on my Vista 64bit machine. Also I reinstalled the RTM version of SimConnect, if you have the SDK there is a folder that contains all the files for previous versions (\Microsoft Flight Simulator X SDK\SDK\Core Utilities Kit\SimConnect SDK\LegacyInterfaces). To be honest I can't remember which change did it, but it now works.

I've attached the copy that I built, see if that does it?
Hi rhysa.

Could you rename that Exe as TCalcX-64.exe? Otherwise I see a problem down the road. :)

Hi George.

I don't know why it had to be recompiled in order to work. The original TCalcX ( 32-bit ) still doesn't work?

Dick
 
#16
Hi rhysa.

Could you rename that Exe as TCalcX-64.exe? Otherwise I see a problem down the road. :)
I guess Rhys compiled it as 32 bit since SimConnect is a 32 bit DLL and this version also works in XP :confused:

Hi George.

I don't know why it had to be recompiled in order to work. The original TCalcX ( 32-bit ) still doesn't work?

Dick
No Dick, the original still doesn't work, but Rhys' works in both XP and Vista 64.

George
 
Last edited:

rhumbaflappy

Moderator
Staff member
Resource contributor
#17
Hi George.

I'm sorry to bother you. :(

Attached is TCalcX_003... I think this may work for 64-bit as well as 32-bit.

Could you test it?
 
Last edited:

rhumbaflappy

Moderator
Staff member
Resource contributor
#19
I opened up the source and recompiled it on my Vista 64bit machine. Also I reinstalled the RTM version of SimConnect, if you have the SDK there is a folder that contains all the files for previous versions (\Microsoft Flight Simulator X SDK\SDK\Core Utilities Kit\SimConnect SDK\LegacyInterfaces). To be honest I can't remember which change did it, but it now works.

I've attached the copy that I built, see if that does it?
Hi rhysa.

Can you test both the original TCalcX and the one I attached above, to see if they work on your 64-bit Vista system?

The attached one I made works on my 32-bit XP just fine. And yours works on my system just fine, and the original works just fine.

Dick
 

rhumbaflappy

Moderator
Staff member
Resource contributor
#20
Hi all.

I see others are starting to have problems with SimConnect and Vista-64:

http://forums.avsim.net/dcboard.php?az=show_topic&forum=255&topic_id=1118

I also think there may be problems with the FSX Acceleration expansion. The Aces team now indicates that addons made for FSX may not work in Acceleration, because the Aces have changed some internal code in the game engine... effectively making it a new sim entirely. Acceleration does NOT = FSX.


Dick
 
Top