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

VC++ Express 2005 for FS projects Tutorial

Messages
639
Country
panama
I have spent a great part of the day googling around and looking into a lot of links that lead to no useful information.

I would like to know if and where is a tutorial for writing modules and/or tools for flight simulator using the Microsoft VC++ 2005.

Has been a long time since I did C++ but that is not the problem. I have done the following:

- downloaded and installed the MS VC++ 2005 Express edition.
- downoaded and installed the MS Platform SDK
- Updated the path of the projects (Options|Projects&Solutions) for executable, include and library
- Updated corewin_express.vsprops file to include the additional dependencies

I am lost with the following:

- When I create a new project, should it be a CLR project or a Win32. I don't think it is CLR (that is supposed to be managed) but the Win32 project wizard does not offer the choice of DLL/Console, it simply puts a gun on your forehead and lets you choose "Win32 console application"

- If I want to develop a module that has a user interface (just like FSPassenger does), should I select "DLL" or "Windows application"
 
I use VS2005 but not the Express Editions. I am not using C++ but C# so can't give a definitive answer except to say give each option a try. Well using the CLR does not necessarily mean using managed code. There are some other free C++ IDEs out there are well so if VS2005 C++ does not suit then do a Google for alternatives. Bloodshed Dev C++ is one that I have used in the past.
 
Finally I got the Modules sample to compile successfully. It is the same Module (DLL) that simply implements an FS Menu which is posted somewhere in these forums.

So, I placed my brand new .DLL in the FS9's Modules directory. I started FS9 and saw a dialog saying that a "potentially incompatible DLL ..." but I said it was ok so it was to be loaded.

So two questions:

1. How do I make FS9 to recognize my module as not-incompatible?

2. The simple sample actually does not produce any menu entries in the flight simulator menu. Am I missing something?

3. I tried to include the gauges.h from the Panel SDK but got a bunch of errors. Anybody ad that? don't I need to link to some other library?
 
Back
Top