August 21, 200619 yr Hi folks,I had a look at the modules (dll) format in FSX demo and it has completely changed since FS9. No more linkage & import table, the modules are exporting a lot of functions now (api.dll has 325 exported symbols). But no help for the programmer now, since the symbol names are non-explicit (the module name plus increasing numbers)The organisation is rather the same, with standard modules (sim1, traffic, g2d, g3d, weather etc), but with some news:api.dll (a huge module, probably for exchanging informations), simprop.dll (dunno what is it, but it is exporting human-readable symbol names) and xuipc (a replacement for FSUIPC?)Does anyone know if the future FSX SDK will include some headers for these modules ? at least api.dll will be good :-) It looks like FSX internals are becoming more and more open to third-party programmers, and it's a very good thing. I'm waiting impatiently for the final release in october!
September 22, 200619 yr Hey lc0277,You are correct, for the most part the module system is now gone (I think parts of it are probably still used for C/C++ gauges, but I wouldn't swear to it :->). I'm suprised it lasted as long as it did, I wrote that system a little over 10 years ago :->API.DLL used to either be called FS6API.DLL or it was part of the FSn.EXE file (I don't remember anymore :->). There's not much in here that addons would find useful, most of it was originally written as a layer that added some FS specific enhancements on top of WIN32 API functions, or just to hide the details of certain WIN32 API sets from our mostly DOS based, Assembler langauge developers that were on the team at the time who were already converting real mode, 16-bit, segmented memory model assembler code into protected mode, 32-bit, flat memory model assembler and C/C++ code, so asking them to also learn the vaguaries of the WIN32 API at the same time seemd to be a bit much to ask at the time :->. I imagine most of the functions in here will drop out of use over time (some of them probably already have :->).SimProp.DLL is a parser for some of our XML based file formats.XuiPC.DLL is a framework to support some of the ingame UI (so its not any form of IPC, the UI go together, the PC go together, and the X stands for whatever :->).The only docs you'll see are for the currently supported APIs in our SDKs (SimConnect, Gauges (both XML and C/C++), missions, etc). We don't doc the interface to our individual modules because those things change every version (as Pete usually finds out when he tries to make a new FSUIPC version, although we at least gave him an API to talk to this time around, so he didn't have to poke around to figure out where values were, he just had to decipher our beta quality SDK Docs instead :->).Tim Tim http://fsandm.wordpress.com
December 21, 200619 yr Where can I get documentation about C++ Module programming? I need to get my module working in FSX.
Create an account or sign in to comment