Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi,

First, excellent program. I really enjoy my registered copy :).

My newbie question is this: Where can I find info on programming dll modules for FS?

I have written software for FS, but now I would like to turn it into a FS module that I just pop in the modules folder. I write in C, C++, Pascal, Python, and even in ASM when I have too. I have searched everywhere for info on how to do this, but can't seem to locate it.

Thanks,

Patrick

Posted

My newbie question is this: Where can I find info on programming dll modules for FS?

There's nothing official. If you can write Gauges, then they are pretty much the same except those have a .GAU filetype and are loaded through PANEL.CFG references.

If you search this Forum I'm sure you'll find a thread that has more details in, even a reference to somewhere helpful. Sorry, I can't remember the thread subject line, but it was a result of a similar query.

I have written software for FS, but now I would like to turn it into a FS module that I just pop in the modules folder.

You really need to think it through first. Remember that if it is something that will be running whilst FS is running, once you are 'inside' the same process as FS it is your responsibility to ensure harmony, to run smoothly without unduly impinging upon performance, and so on. You can no longer rely on Windows to operate the multiprogramming as you can when you are a separate process.

If your program is some utility that is in fact inactive except when called upon, then maybe the performance element isn't so important, but you are still using FS's virtual memory space too, so need to consider that.

Another thing to consider, if your program uses the FSUIPC interface, is whether it would be useful run on a client PC via WideFS. One of the best known and well used Module-programmed add-in is FSNavigator, and it is a great shame that it isn't actually a separate program so it can be run on a separate PC -- even I would use it then! :wink:

Regards,

Pete

Posted

Thanks Pete. That pretty much answered my question. I think with what I'm doing, I can simply use the facilities you provide as my program just runs a GUI to provide the user with config options for my program which runs once, and thats it. Probably not worth the trouble to do more.

Patrick

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.