• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

How to ...TCALCX?

Decimal separator

Hi, Bene

My windows system is adjusted to accept period ( . ) - not comma ( , ) - as decimal separator.

ditopilot07;29741 That would be very encouraging. However said:
I really do not know if this could be the source for the above error, but which is your system decimal separator?

Regards,

José
 
All I meant was that FSX's *data* may not be as accurate as the real world.

GoogleEarth is typically very accurate. But the data Microsoft used for Lakeshore Drive might be off. What that means for you, is it gives you two options:

1) add your FreewayTraffic line to Microsoft's existing Lakeshore Drive..., or
2) remove Microsoft's Lakeshore Drive (Exclude_Roads_2_Lane,...etc.) and re-make Lakeshore Drive using GoogleEarth data, then add your traffic on top of YOUR more accurate road


Yes exactly... I would be doing option 2... Exclude the existing road, retrace Lakeshore drive from Google Earth, mark it as a road, copy it and mark the copy as freeway. Then you have very accurate road and freeway.

Also... redo the shoreline too!

Rather than trying to "patch" the inaccurate default data, just redo it using GE and FSX_KML... you will end up with a very accurate Chicago, shorelines, rivers, islands, roads, freeways, land class polys etc etc
 
Last edited:
"You only need six decimal places. Don't even worry about TCalcX.
Not sure what you mean by "ones FS_KML will accept"...it will accept -87.1 if you want. FS_KML works fine with -87.452168"

That would be very encouraging. However, more than once, when I had entered the coordinates manually (e.g. ...<coordinates> -87.452168, 41.xxxxxx,etc) and later pressed "Build" in FS_KML, I got an error message pointing out that the first cordinates entry was "Not a valid foating point" and it would not procede.

dito


The forthcoming 1.06 has the ability to edit the points directly in FSX_KML. It has a grid where you can manually type in new values.

Also whenever you get a error message in FSX_KML... can you upload your KML with a description of bug so that I can debug and fix. I have just added a new pinned topic called "Bug reports" which you can use to post your bug reports.
 
Hi, Bene

My windows system is adjusted to accept period ( . ) - not comma ( , ) - as decimal separator.



I really do not know if this could be the source for the above error, but which is your system decimal separator?

Regards,

José



Hi José,

In my system is the comma (,).
 
Yes exactly... I would be doing option 2... Exclude the existing road, retrace Lakeshore drive from Google Earth, mark it as a road, copy it and mark the copy as freeway. Then you have very accurate road and freeway.

Also... redo the shoreline too!

Rather than trying to "patch" the inaccurate default data, just redo it using GE and FSX_KML... you will end up with a very accurate Chicago, shorelines, rivers, islands, roads, freeways, land class polys etc etc

Mace,

Now I better understand what you said and what you suggest is good!!!

Matthews,

Thank you for further input. In order to do option 2 I have to learn how to procede. Hopefully it is not a tough learning curve. But the finished product on Chicago would be far better than the default (shorelines, beaches especially). I will dive in and see what I can learn and accomplish.

Thankfully yours, dito
 
The forthcoming 1.06 has the ability to edit the points directly in FSX_KML. It has a grid where you can manually type in new values.

Also whenever you get a error message in FSX_KML... can you upload your KML with a description of bug so that I can debug and fix. I have just added a new pinned topic called "Bug reports" which you can use to post your bug reports.

Looking forward to the 1.06!

As to reporting bugs, I will do my best. Did you get to the ones uploaded earlier today? Thanks again.

dito
 
Hi, Bene

Hi José,

In my system is the comma (,).

If your decimal separator is the comma, the values (numbers) should be written as 123456,78.

I would suggest you to change to period, to work with some tools, including bglcomp.exe. That's why I changed the mine.

Regards,

José
 
Something may be wrong. Here is what happen: I start FSX and then on the TCalcX-002 (with a globe icon) to run it. But the dialog box that comes up says, "This file does not have a valid digital signature that verifies its publisher..."

I ignore that at click "RUN." Another dialog box shows up saying, "Unhandled exception has occured in your application. ... The system could not find the file specified."

Farther explaination of the problem by pressing the DETAIL button says:

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.FlightSimulator.SimConnect, Version=10.0.60905.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.FlightSimulator.SimConnect, Version=10.0.60905.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at TCalcX_002.Form1.DefWndProc(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].



************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TCalcX_002
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Microsoft%20Games/Microsoft%20Flight%20Simulator%20X/TCalcX_002.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box."

Hi dito.

I Googled the problem with this:

http://www.google.com/search?hl=en&q=System.IO.FileNotFoundException:+simconnect&btnG=Search

And that leads me to ask some questions. Do you have .NET 2.0 runtimes installed? Are you using FSX Deluxe version? Have you used the FSX Public Beta release? Exactly where do you have TCalcX running from? Do any other Simconnect programs work from the SDK? Have you configured the SDK files locations?

TCalcX shouldn't need any digital signature, nor should WindowsXP ask for one.

This topic:

http://forum.justflight.com/forum/topic.asp?TOPIC_ID=19700

...seems to contain the same variety of the problem you have.

Dick
 
Answers to Dick on TCalcX Issues

"Hi dito.

I Googled the problem with this:

http://www.google.com/search?hl=en&q...ct&btnG=Search

And that leads me to ask some questions. Do you have .NET 2.0 runtimes installed? Are you using FSX Deluxe version? Have you used the FSX Public Beta release? Exactly where do you have TCalcX running from? Do any other Simconnect programs work from the SDK? Have you configured the SDK files locations?

TCalcX shouldn't need any digital signature, nor should WindowsXP ask for one.

This topic:

http://forum.justflight.com/forum/to...TOPIC_ID=19700

...seems to contain the same variety of the problem you have.

Dick"


Hi Dick, here are my answers:

"Do you have .NET 2.0 runtimes installed?"
A: Yes, I downloaded it just before I downloaded TCalcX, for it said it was required.

"Are you using FSX Deluxe version?"
A: Yes.

"Have you used the FSX Public Beta release?"
A: No.

"Exactly where do you have TCalcX running from?"
A: I read somehere it it did not matter where it's installed. But I had to move it from My Documents to the FSX root(main) folder. While there, TCalcX tried to run but interrupted by the warning/error pessage which details you quoted in tour message.

"Do any other Simconnect programs work from the SDK?"
A:Like which one (FS_KML)? So, I am not sure. But I do have SDK installed.

"Have you configured the SDK files locations?
A:All I know is that it is in C:\Program Files\Microsoft Games\Microsoft Flight SimulatorX SDK. Any further step to make the TCalcX work better?

PS. In which subforum is that TOPIC_ID=19700?

Thanks,

dito
 
Last edited:
Hi dito.

Attached is a VB.net program that should work if Simconnect is properly functioning on your computer. Place it on your desktop, start FSX and go to windowed mode, and double click the "BasicExample.exe" icon.

press "Connect to FSX"

then press "Request Data on User Aircraft"

++++++++++++++++++++++++++++++++++++

If this doesn't work, then your managed simconnect does not work on your computer.

Here's a picture of my Add or Remove for XP:


MyAddRemove.jpg



Dick
 
Last edited:
Hi dito.

Attached is a VB.net program that should work if Simconnect is properly functioning on your computer. Place it on your desktop, start FSX and go to windowed mode, and double click the "BasicExample.exe" icon.

press "Connect to FSX"

then press "Request Data on User Aircraft"

++++++++++++++++++++++++++++++++++++

If this doesn't work, then your managed simconnect does not work on your computer.

Here's a picture of my Add or Remove for XP:


MyAddRemove.jpg



Dick


Hi Dick,

Thank you for your willingness to help. My Add or Remove program shows that I have in my computer the Microsoft .NET Framework 1.1 and also the Microsoft .NET Framework 2.0, also the Microsoft Flight Simulator SDK.

Also I do have SimConnect.dll in my computer (off course not shown in Add or Remove Control Panel page).BUT, just in case, I am downloading SimConnect (ftp://download.justflight.com/jf/free_updates/SimConnect.zip) and try to re-install it and see what happen.

I downloaded added to the Desktop the BasicExample.exe. I started FSX. But, I never used the WINDOWED MODE (for I have heard that unless you know A & B, do not mess with it) therefore, I do not know how to switch to the windowed mode (after starting FSX). What are the steps to follow?

However, if it turns out that SimConnect is not installed properly in my computer, I do not know what else I should do except to do a Repair of the FSX which I already did twice so far.


PS. Finally I was able to open the link:http://forum.justflight.com/forum/to...TOPIC_ID=19700
dito
 
Last edited:
I downloaded added to the Desktop the BasicExample.exe. I started FSX. But, I never used the WINDOWED MODE (for I have heard that unless you know A & B, do not mess with it) therefore, I do not know how to switch to the windowed mode (after starting FSX). What are the steps to follow?

Press ALT ENTER to switch between window and full screen modes
 
Press ALT ENTER to switch between window and full screen modes

Mat,

OK but I already have good news to report:

I downloaded and re-installed SimConnect from the forum link you provided and Started FSX and whent to a location (Meigs) then ran the TCalcX and I SHOWED UP!!!!!

I clicked, the "connect" and the coordinates were displayed and could be copied!

However, my computer froze (I had to press Alt + Tab to move back from FSX in order to start TCalcX). Is this yet another problem or what?

Anyway I am amazed by the commitment of all of you not only with insightful information but above all armed with the untiring willingness to help those new to the world of FS.

THANK YOU TO ALL!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! and above all, I PRAISE THE LORD, my SAVIOR!

dito
 
Dito

I would suggest you run FSX in windowed mode when you are designing scenery.

That way you won't have the lockup problem when switching. I have heard of some people having that type of lockup, and it's usually video card/driver related.

Besides, task switching (ALT-TAB) is faster when FSX is windowed. I find myself constantly ALT-tabbing between FSX and Notepad and FS_KML and my File Manager (named Servant Salamander..oddly enough).
 
Hi all.

The problem ended up being the installation of simconnect. I believe the Flight One file is the same as the one found in the SDK. From the SDK:

C:\Program Files\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Core Utilities Kit\SimConnect SDK\lib\ReadMe.txt

SimConnect.msi - is the Microsoft Installer package to install a copy of the SimConnect client DLL on a system. The installation of Microsoft Flight Simulator X on a system will automatically install the SimConnect client DLL. This separate installer file is for use when you want to install a copy of the client DLL on other systems that will communicate remotely via SimConnect to the system running Microsoft Flight Simulator X.

The program:

C:\Program Files\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Core Utilities Kit\SimConnect SDK\lib\SimConnect.msi

Dick
 
Dito

I would suggest you run FSX in windowed mode when you are designing scenery.

That way you won't have the lockup problem when switching. I have heard of some people having that type of lockup, and it's usually video card/driver related.

Besides, task switching (ALT-TAB) is faster when FSX is windowed. I find myself constantly ALT-tabbing between FSX and Notepad and FS_KML and my File Manager (named Servant Salamander..oddly enough).

Mace,

Great advice and many thanks!

dito
 
Back
Top