Jump to content
Sign in to follow this  
Guest Fabio Miguez

A big petition about URL to information about inside of MS FS.

Recommended Posts

Guest Vladimir_BL

I need to create some module (.dll) for FS. I know how to do it. It loaded and unloaded just fine. Question is: where can I get information about inside of MS FS ? How can I control FS (get and put some FS specific data) from my .DLL.Thanks for the help.

Share this post


Link to post
Share on other sites
Guest Fabio Miguez

Hey Vladmir,An easy way to do that is to read and write from/to FS's memory using the correct offsets. Take a look at a msg posted by Jean-Luc called How To GLOBAL.DLL. In there you will find a code snippet that gets a handle to the Global.dll file (a DLL that contains most of the FS values of interest to developers) and then adds the offset so that you are reading the correct portion of the computer memory.To write, you can use memcpy, again using the offset you defined earlier to write to the correct position. For more on that take a look at the MSDN library at http://msdn.microsoft.com/library/default.aspTo know the correct offsets, a good table comes with the FSUIPC SDK or with the newly released, freeware, FDSConnect, which you can find at http://www.flightdecksoftware.comIf you need more help, feel free to contact me by going to our website and clicking on Contact Us. We have Live help working for the most part of 24 hours each day. And thanks go to Jean-Luc for teaching us all how to do this.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...