• 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.

FSX Crash with XMLTools

  • Thread starter Thread starter flytiti
  • Start date Start date
F

flytiti

Guest
Hi all, Hi Tom,

I have installed XMLTools with XMLTools_20 Installer in my FSX gold (seven 64 bits) but when I launch FSX , I have a crash with the message 'Fsx process not found. Fsx_handle=0'

1- Installation is OK
XMLToolsInstallerLog rapport

XMLTools 2.0 Installer
======================
Wed Jan 21 11:18:04 2015

FSX found on this machine!!
XMLTools.dll successfully installed in FSX's main folder !!
DLL.XML found !!
XMLTools entry added !!
DLL_XMLTools.bak successfully created !!
DLL.XML successfully updated!!

-End of process-

2-When I remove XMLTools.dll from the FSX folder, FSX don't crash.
3-I checked my dll.xml file with the following link
"http://support.precisionmanuals.com/kb/a92/dll_xml-information-and-troubleshooting.aspx"
but all is OK
Have you an idea ?
Thanks for reply.
 
Hi,

Please copy XMLTools.dll from the original file, XMLTools_v2.zip, into FSX's main folder and see if it works ok.
If it does, could you please run the installer again and send me that broken copy of XMLTools.dll?

I'll try to figure out what could have happened.

Thanks
Tom
 
Hi Tom,
1- I do that, I have the same error and message
2- If I add the lines in dll_xml.exe, it's the same
<Launch.Addon>
<Name>XMLTools</Name>
<Disabled>False</Disabled>
ManualLoad>False</ManualLoad>
<Path>XMLTools.dll</Path>
<DllStartName>module_init</DllStartName>
<DllStopName>module_deinit</DllStopName>
</Launch.Addon>

I don't think it is useful but windows gives this following error.

Nom de l’application défaillante fsx.exe, version : 10.0.61637.0, horodatage : 0x46fadb14
Nom du module défaillant : panels.dll, version : 10.0.61637.0, horodatage : 0x46fadb59
Code d’exception : 0xc0000005
Décalage d’erreur : 0x0003c4c5
ID du processus défaillant : 0x114c
Heure de début de l’application défaillante : 0x01d0373adbc2a1bf
Chemin d’accès de l’application défaillante : E:\FSX\fsx.exe
Chemin d’accès du module défaillant: E:\FSX\panels.dll
ID de rapport : 20617f42-a32e-11e4-8d67-a26281a01e6d

Thanks

Thierry
 
Hi Tom,
I can't, because I have a newer version on my PC and I am not fan to remove version 2012 to try version 2010; I am suspicious with C++ 2010 Redistributable Package.

Pb installation.jpg
Thanks
Thierry
 
Thierry,

I think 2010 Redistributable should install despite 2012 being installed. But if a new version prevails, XMLTools should work then with R 2012. Do you have latest version of 2012 (SP4) ?

Tom
 
These versions exist side-by-side, much like the various SimConnect versions. IOW, it is not a binary choice...
 
Hi Guys,
1- Tom : I installed version of 2012 (SP4) ? but I have the same error :banghead:
C++2012 SP4.jpg

2- Bill : I used vcredist_x64.exe but installer stop (see also thumbnail post #5)
Vcredist.jpg

The last version of my ATI driver + catalyst causes (I think) the crash of Firefox (App hang error)
I don't think so but does this bug can interfere with XMLTools ?, I am going to reinstall previous version to see.

Ok, anyway, never mind, next time I reinstall FSX, I'll try XMLTool first. Thanks you for having help.

Thierry
 
Hi all, Hi Tom, I partially have clarify this anomaly.

1) I made a simple program which enable to switch from a complete FSX to a 'light' one (test) and vice versa (it's very useful to test a new scenery or aircraft ..); see also my post :
http://www.fsdeveloper.com/forum/threads/overwrite-a-scenery-file-with-fsx-active.431575/
This utility rename only FSX folders or scenery.cfg file (see note) in test_ or complete_ (see my code) when you click on the button TEST/FSX

2) When I have seen this anomaly, my FSX was in 'test' and I have not placed XMLTools folder in
... FSX/Gauge/

3) With my new tests :
If no XMLTools folder in ... FSX/Gauge/
- in FSX test ==> KO as soon as FSX is loaded (crash FSX),
- in FSX complete ==> OK after loading FSX but if I choose an airplane with the XMLVars gauge inside panel.cfg ==> KO (crash FSX)
but with XMLTools folder in ... FSX/Gauge/ , XMLTool works in the two modes OUF :)


Xml_Vars_test.jpg

Of course, now I know how to do, but please Tom, can you explain this behaviour difference beetween test and complete modes on loading FSX ?? (my gauge folder is the same and not switched).
And why a crash if the XMLTools folder is not inside gauge folder ?

Note: for those who are interested, this program is written in python 2.7.6 (fabulous langage), and works very fine, you must just wait a few seconds after FSX shutting down to change the mode because in my code there is none safety guard , for debug, I use Pyscripter which is a super free Python Integrated Development Environment (IDE). If I don't forget :

1) make a copy of the following folders and file
- addon_scenery
- SimObjects
- scenery of ..\Scenery\World
- scenery.cfg
then, rename copies in
- test_addon_scenery
- test_SimObjects
- test_scenery of ..\Scenery\World
- test_scenery.cfg
and keep in these copies the minimum (no traffic, one or two aircraft, ..)

2)if need be, modify all the lines with 'E:\FSX' with your correct FSX path.

Switch_FSX.jpg

Tom, thanks for your reply and thanks for your gauge

Thierry
 

Attachments

Thierry,

Please notice XMLTools.dll is NOT a gauge. It is a module, and should be left where the installer puts it, that's it in FSX's main folder.

You must not make any reference of XMLTools or any of its classes in any panel.cfg. Being a module, all of its classes are directly available to every panel you have installed.

I'm sure your problems will be solved as soon as you amend your configuration.

Tom
 
Hi Tom,

1) "XMLTools.dll is NOT a gauge. It is a module, and should be left where the installer puts it, that's it in FSX's main folder."
Please read again my previous post#9 : "When I have seen this anomaly, my FSX was in 'test' and I have not placed XMLTools folder in ... FSX/Gauge/"
so, in my test, I didn't move your XMLTools.dll module, I spoke about your XMLTools gauge folder.

2) "I'm sure your problems will be solved as soon as you amend your configuration."
2-1) I desinstalled amd-catalyst-omega-14.12-with-dotnet45-win7-64bit and install amd-catalyst-14-9-win7-win8.1-64bit-dd-ccc-whql. ==> no more crash with FireFox,
I started again from the beginning and now as you said in post#2, when I copy XMLTools.dll from the original file, XMLTools_v2.zip, into FSX's main folder, that's work (it's the same with installer) and with my switch, I have the same behaviour in test or complete mode (with or without XMLtools gauge folder).
2-2) Finally, I moved my test pack (folder and file) on an another disk to have a 'normal' FSX and it's the same as with my switch.
==> So for me, the problem comes from this ATI version (thanks so much AMD).
Note: However, I have always the same crash FSX, if no XMLTools gauges folder in ... FSX/Gauge/ and if I choose an airplane with a gauge of your doc XMLTools code examples" inside panel.cfg.

3) So now, I followed your doc XMLTools code examples and utilities :
page 1- "To install the gauges in FSX, simply copy XMLTools folder inside FSX\Gauges subfolder"
- TableAndSimExample.xml : that's work
- FlightDataRecorder.xml (page 17)
Result :
==> your gauge is well displayed,
"Press the green bar to start data recording. Press the red bar to stop the process."
==> That's OK and incrementation cycle OK,
==> "Data is saved into FSX’s Modules subfolder as FlightRecorderFile.txt" ==> KO

Did I forget something ?

Thank's for your reply

Thierry
 
Thierry,

Note: However, I have always the same crash FSX, if no XMLTools gauges folder in ... FSX/Gauge/ and if I choose an airplane with a gauge of your doc XMLTools code examples" inside panel.cfg.

As I stated before, XMLTools is not a gauge. If you don't place XMLTools folder inside FSX/Gauge/ and load an aircraft that has a panel.cfg line like

gauge00=XMLTools!LocalVarsLogger, 0,0,245,190

FS will try to reload XMLTools as a gauge, hence the logical crash.

==> "Data is saved into FSX’s Modules subfolder as FlightRecorderFile.txt" ==> KO

Do you mean KO as a crash here? I tested it again and works fine. Try modifying FlightDataRecorder.xml gauge to use an absolute path (ie E:\FSX\Modules)

==> So for me, the problem comes from this ATI version (thanks so much AMD).

Your ATI problem probably has nothing to do with XMLTools, as the module doesn't use any graphical routine (GDI, DirectX, etc)

Tom
 
Hi Tom,
1)
As I stated before, XMLTools is not a gauge.
Yes XMLTools.dll is a module but if I read your doc XMLTools Examples page 1 , I see first line
"These gauges are provided as an aid on how to interact with XMLTools classes" and
"To install the gauges in FSX, simply copy XMLTools folder inside FSX\Gauges subfolder."

The 'problem' is XMLTools.dll and XMLTools folder have the same name so :confused:
That's OK , it's not that important.;)

2) "Data is saved into FSX’s Modules subfolder as FlightRecorderFile.txt"
I don't see this file neither in the folder Module nor FSX; I recorded a flight untill cycle 6.
here the modified path <Macro Name="Path">'E:\FSX\Modules'</Macro>

3) ATI crash : I don't know but I say what I have seen.

Thierry
 
The 'problem' is XMLTools.dll and XMLTools folder have the same name so :confused:
That's OK , it's not that important.;)

I guess the 'problem' is not placing XMLTools folder where it has to go :eek:
But I agree, it's easy to fix;)

2) "Data is saved into FSX’s Modules subfolder as FlightRecorderFile.txt"
I don't see this file neither in the folder Module nor FSX; I recorded a flight untill cycle 6.
here the modified path <Macro Name="Path">'E:\FSX\Modules'</Macro>

Path should end with a slash, like 'E:\FSX\Modules\'

Tom
 
Tom,
<Macro Name="Path">'E:\FSX\Modules\'</Macro>
sorry it's the same (no file) :banghead:
 
Hi Tom,
Now that's work; I had a problem with my file dll.xml, I created a new one and now I have the "FlightRecorderFile.txt" in FSX/module.:)
I tried also "XMLVarsExample.xml" and it's works too.
So, now, I think all is OK and I am going to dive in your very interesting tool.
Thanks so much for help and for your tool.
While I'm at it, who do I contact if I want to put an utility on FSdevelopper ? what should one do ?

Thierry
 
Hi Thierry,

I'm glad that you worked it out.
If you want to upload an utility, just go to Resources page, click on Add Resource button and follow the instructions.

Tom
 
Back
Top