• 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 no dll.xml

Messages
51
Country
france
Hello everyone.

I'm trying to use the Mixed Mode Sample given in the SDK.

I face a problem at the 5th step. I don't have any "dll.xml" file in the indicated folder.
So I tried to create one but when ingame, the gauge partly works i.e. I have the Cabin Comfort window, bitmap and text but the text is not evaluated. Everything is set to 0.
It looks like the XML part of the gauge works but the dll isn't used to manage the values.

Why don't I have a dll.xml ? What must I do to make it work ?

Thank you. :)
 
I believe the indicated folder you made reference is for those who have ESP installed. For the others, it should be present in:

..\Users\YOURUSER\AppData\Roaming\Microsoft\FSX

Make sure to have it there, and it must work fine. Just a small tip: when you finish editing the file, open it in a browser just to check it loads Ok (with no typos).

Tom
 
I use Win 7 64.

I didn't search for a ESP folder indeed, I looked for it in ..\Users\Melin\AppData\Roaming\Microsoft\FSX. This is the right folder, there is the fsx.cfg, etc... but no dll.xml :/
 
Last edited:
Don't you have any addon installed? (many of them use dll.xml).
I think you should have a copy in any of the SDK subfolders, otherwise you should make an advanced search in your pc to find where it is.

Tom
 
No I don't have any addon since I use it for work.
I searched for it in my C hard drive but it only gave me the dll.xml from the SDK and I read somewhere that its obsolete.

Well, I created one with this code :

Code:
<?xml version="1.0" encoding="Windows-1252"?>

<SimBase.Document Type="Launch" version="1,0">
  <Descr>Launch</Descr>
  <Filename>dll.xml</Filename>
  <Disabled>False</Disabled>
  <Launch.ManualLoad>False</Launch.ManualLoad>
  
  <Launch.Addon>
	  <Name>Cabin Comfort</Name>
	  <Disabled>False</Disabled>
	  <ManualLoad>False</ManualLoad>
	  <Path>Cabin_Comfort.dll</Path>
	  <DllStartName>module_init</DllStartName>
	  <DllStopName>module_deinit</DllStopName>
  </Launch.Addon>
  
</SimBase.Document>

but as I said, the example doesn't work. The dll doesn't manage the values :

cabino.png


Thanks for your help.
 
This line:
Code:
<Path>Cabin_Comfort.dll</Path>
Should read:
Code:
<Path>Modules\Cabin_Comfort.dll</Path>

And the DLL file should be in the Modules subfolder inside your FSX folder.
 
I didn't have any Modules subfolder either ! ^^

I created one and modified the dll.xml file and it's working. Thank you very much. :)
 
I didn't have any Modules subfolder either ! ^^

I created one and modified the dll.xml file and it's working. Thank you very much. :)

Actually in FSX the Modules folder isn't needed at all (notice that you didn't have it created at first) ; dll *module* files just go in FSX's main.
Anyway it does no harm to have that subfolder present in your FSX's root ;)

Tom
 
Back
Top