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

DLL Compiling!

Messages
2
Country
southafrica
Hi, I'm new here and not quite sure where to post this but here goes.

Has anyone ever managed to get a DLL to compile and run with anything else other than a Microsoft compiler ?
I ask this because I work mainly in Borlands C++Builder or Watcom and in both cases everything compiles great,no errors and no warnings.
The startup DllMain or as is the case in Borland, the DllEntryPoint, this works but thats as far as it goes.
I compile it in MS Visual C++ and it works great and runs.
Basically I need to get MS VC++ out of my PC as it creates havoc with other development I have so if there is a 'trick' to getting it to work in Borland, I would really appreciate it.

Many thanks and a great forum :)
Ben
 
Try using the fsxgauges_sp2.h file that Dai Griffith's and Arne Bartels modified with some redefinitions for BCC and GCC compability reasons.

You will find the latest version in Dai's gauge development manual sd2gau23.zip availble at http://avsim.com in the file library.

Code:
// gauges.h
// Copyright (c) 2003 Microsoft Corporation.  All rights reserved.
//
// Corrections by Arne Bartels 2003
// Additional macros by Arne Bartels and Dai Griffiths (mainly Arne Bartels) 2003 - 2007
// Renamed to <fsver>gauges.h by Dai Griffiths to specify which version the corrections were made for.
// _sp2 suffix added to distinguish this version from the original fsx acceleration release.
 
Back
Top