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

CabinComfort

Messages
2
Country
france
I have built Cabin_Comfort.dll with Visual C++ 2005 Express from the FSX_SDK_SP1 example

I have copied Cabin_Comfort.dll in my main FSX directory

I have declared Cabin_Comfort.dll in dll.xml :
<Launch.Addon>
<Name>Cabin_Comfort</Name>
<Disabled>False</Disabled>
<Path>Cabin_Comfort.dll</Path>
</Launch.Addon>

I have built the gauge CabinComfort.cab from the FSX_SDK_SP1 example with cabdir.exe and added this gauge in the panel of one aircraft

The gauge is displayed but Cabin temperature, Bank angle, Flight attendants, Restroom and Passenger comfort stay at ZERO

What is wrong ?

I need HELP ...
 
The SDK documentation refers to two additional lines to put in dll.xml :
Code:
<DllStartName>module_init</DllStartName>
<DllStopName>module_deinit</DllStopName>

Edit: if you compiled directly using the source, don't forget to include the supplied .DEF file or the two functions won't be visible by FSX.
 
Last edited:
Hi,

The SDK documentation refers to two additional lines to put in dll.xml :
Code:
<DllStartName>module_init</DllStartName>
<DllStopName>module_deinit</DllStopName>

Edit: if you compiled directly using the source, don't forget to include the supplied .DEF file or the two functions won't be visible by FSX.


that's right, but with the VS2005 C++ Express you can only write managed code (for .NET). But if you install the Platform SDK and follow this steps you can write win32 applications. So I didn't use the Express Version, so I don't know if you can write then a win32 dll.

Ciao,

Alex
 
Go the the "Properties" of your gauge project, and look in the Linker section for a place to specify the Module Definition File:

"You can invoke a .def file during the linker phase with the /DEF (Specify Module-Definition File) linker option."

/DEF:Cabin_Comfort_Def.def
 
Back
Top