sim_connect_sys

Crates.iosim_connect_sys
lib.rssim_connect_sys
version0.2.0
sourcesrc
created_at2023-04-17 19:37:33.076177
updated_at2023-04-17 21:46:45.063723
descriptionRust bindings for SimConnect for use with Microsoft Flight Simulator
homepage
repositoryhttps://github.com/dbidwell94/simconnect_rs/tree/master/sim_connect_sys
max_upload_size
id841835
size4,789
Devin Bidwell (dbidwell94)

documentation

README

sim_connect_sys

A package which generates Rust bindings for SimConnect (for use with Microsoft Flight Simulator)

Installation

  • Install the SimConnect sdk
    • Open MSFS
    • Enable develop mode in Options/General Options/Developers
    • Click "Help" on the top menu bar
    • Click SDK Installer (Core)
  • If installed to default location of C:\MSFS SDK\, then you may stop here
  • Add an environment variable to cargo.toml in the [env] section as follows:
[env]
SIMCONNECT_SDK = "path/to/sdk/lib"
  • The path MUST contain both SimConnect.dll AND SimConnect.lib. This is usually in ...\MSFS SDK\SimConnect SDK\lib

Features

  • static_link - This will tell the compiler to staticly link SimConnect instead of requiring a .dll dependency
Commit count: 62

cargo fmt