Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using unified pure C# simconnect for FSX/P3D/MSFS #4

Open
neoxeo opened this issue Nov 4, 2024 · 1 comment
Open

Using unified pure C# simconnect for FSX/P3D/MSFS #4

neoxeo opened this issue Nov 4, 2024 · 1 comment

Comments

@neoxeo
Copy link

neoxeo commented Nov 4, 2024

Hi,

Thanks a lot for JoinFS !

I have seen you have started to add MSFS and convert to .Net. For me, one of problem is simconnect managed DLL.

I have a solution to use pure C# (.Net8.0 or 9.0 ) Simconnect :
No reliance on SimConnect.MSI or the native client library it installs.
Ability to compile projects using the Any CPU build setting.
Simpler Data Structure Definition/Registration system using custom attributes.
Overloads provided for those APIs where appropriate allowing use of default values like the native library has.
Ability to pass an instance object to a RequestDataOnSimObject call, allowing the instance to be auto updated as new requested data is received.
Working support for Client Data API functions
No SimConnect.CFG file required/used, Server Name and Port provided in the SimConnect.Open(…) call.
One code for all simulators.

I have convert sim.cs to use this inified simconnect and all works fine except small part of code in variables.cs concerning "public void AddFromFile(string filename)".

Tell me if you are interesting to use unified simconnect and if you can help me to solve my problem.

Thanks again !

@omx5o
Copy link
Owner

omx5o commented Nov 4, 2024

Hi, Feel free to make changes or branch off the code. I no longer do any development so am unable to help.

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants