June 17, 201411 yr Commercial Member RTM Deluxe is the full version as opposed to the cut down version. FSX Gold = FSX DL+ACC. Steve Waite: Engineer at codelegend.com
June 17, 201411 yr That only means the samples won't work, since they're written in c++, not c. Language is unimportant. The FSX SDK states: To use the samples and updated header file, C++, rather than C... Does that means a gauge based on a sample may work or may not work? Gerry Howard
June 17, 201411 yr Commercial Member Just means the samples and headers are written in c++, not c. Steve Waite: Engineer at codelegend.com
June 17, 201411 yr Author OK, I think I now have the SDK installed correctly. I now see the fsxsdk.ch, file!! I installed the sdk.msi file from my Accel disc SDK folder. Ralph Freshour www.GMTPilots.com
June 18, 201411 yr Author Question: I saw the APi calls to add an item to the FSX menu system. When I click on my menu item, I need to create a window object. Should I do that in code or have a form already built and just display it? I read the MS removed the ability for VS 2013 C++ to build win forms so I thought I'd install vs 2012 or vs 2010 since they support that but it may be a moot point if I end up creating the window object in code. I'm not sure I can build a win form app that will interface with FSX or if I have to use a different app model? All I need to do at a high level is add my item to the FSX menu system and open a window (either way, by code or by .Show an existing form pre-built) and then load in the text from a file. I'll figure out each step as I go but its really a pretty simple add-on I think. Ralph Ralph Freshour www.GMTPilots.com
June 19, 201411 yr Author I've been reading a lot about using C++ and I want to make sure I'm using the correct structure for my FSX add-on programming, so my question is: Is VS 2010 C++ ok to do this in? What model should I be using? CLR/Windows Forms Application? (recall I want to display a window with text on top on my FSX cockpit displays). Or should I be using the CLR Empty Project? I'm not sure I'm getting started on the right path yet. Thanks... Ralph Freshour www.GMTPilots.com
June 19, 201411 yr the FSX SimConnect SDK starts with: SimConnect ProjectsTo build SimConnect add-ons, you must use Visual Studio 2005 or later, or Visual C++ 2005 Express Edition or later. To build the project make sure you have completed the following steps.C/C++ ProjectsFor C or C++ add-ons, start a new Win32 Console Application project if the add-on will have no user interface. Start a new Win32 Project or MFC Application if the add-on will have a user interface. etc Gerry Howard
June 19, 201411 yr Author I am a newbie to all of this so i don't know what I need to be using. To add on to the FSX menu system so I can click on my selection (ATC window for example) and display my window with text in it, I would need to be using SimConnect to do that, right? And in my VS 2010 IDE I would need to select a Win32 Project because my window has a user interface for me to interact with, right? My window has text which is the primary thing for me to be viewing but the window will also have some components on it (buttons, labels, text boxes). Ralph Freshour www.GMTPilots.com
June 19, 201411 yr Author I tried to use some of the examples in the SimConnect SDK Examples folder. I'm using VS 2010. The first thing when I try to load in a project it has to do a conversion. Then once the Project is open and I try to do a Build I get a lot of errors. Obviously VS 2010 and the Examples are not compatible. I'm new to C++ so I don't want to have to try and fix a lot of errors (100+) by hand just to run an example and study it etc. Should I download and install VS 2005 C++ and just that? The examples should run fine under that environment right? Ralph Freshour www.GMTPilots.com
June 19, 201411 yr They do work. Open a sample file and double click on the <...>.vcproj file and VS C++ 2010 will convert the project and then run it without errors. Gerry Howard
June 19, 201411 yr Author Hmmm...that did work better than when I tried it before. Not sure what I was doing before that generated so many build errors. Now I only have one build error: fatal error LNK1104: cannot open file 'C:\FSX_SDK\SDK\Core Utilities Kit\SimConnect SDK\inc\SimConnect.lib' But the SimConnect.lib file IS in that location and I have edited the Linker/Input/Additional Dependencies with its path:C:\FSX_SDK\SDK\Core Utilities Kit\SimConnect SDK\inc\SimConnect.lib So, something is still not right as the TextMenu Example that I'm trying to run can't see the SimConnect.lib file. Any thoughts appreciated... Ralph Freshour www.GMTPilots.com
June 19, 201411 yr It works fine for me the samples I've used. SimConnect.lib is in: C:\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Core Utilities Kit\SimConnect SDK\lib\simConnect.lib Gerry Howard
June 20, 201411 yr Author I'll copy my file into a similar folder and see if that solves the problem for me. Thanks... Ralph Freshour www.GMTPilots.com
June 20, 201411 yr Author Well, I'm not sure what the correct folder is...when I installed, I put the SDK into C:\FSX_SDK. I don't know if that is correct or not. Ralph Freshour www.GMTPilots.com
Create an account or sign in to comment