Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to make a plugin for FSX in C/C++ but all the examples and documentation forward to the SimConnect Examples for FSX.

I want to access USB-hardware from the plugin and for this reason I'm looking for a way to write a plugin in C/C++ which does not rely on the SimConnect interface.

share|improve this question

I don't know if this helps you with FSX, however documentation for FS2004 modules has always been rare too, so this might be of help.

Here's an example of an FS2004 module: (written by myself, public domain). From my experience the APIs haven't changed that much so with a bit of luck you'll be able to adopt the example for FSX.

Important is the Linkage global variable (type GAUGESLINKAGE) because it includes the MSFS version (0x900 in the example) and callback functions that MSFS shall call. I don't remember exactly what ImportTable was for, however if you're not writing code for gauges, you may just ignore it for now.

Have you checked the SDK that is shipped with the FSX Pro/Deluxe edition?

share|improve this answer
Thanks for the sample code, I will try to create a plugin for FSX with it. – taco24 Apr 5 '11 at 14:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.