C# app that is compatible with all sims

hi
i'm developing an APP for the FS and i want it to detect both FSX and P3D how will i do that
note : i'm using C#

thnx in advance
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
What do you mean with detect FS? You can read from the registry where it's installed.
 
no i mean detect if the fsx or P3D is running
because i don't want my programme to be closed by mistake so if fsx or p3D is running the programme will decline the close event

i succeded detecting P3Dv4 but i can't know how to do for FSX and V3
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Can you not just use the .NET functions to check the running processes on the machine and see FS it in that list?
 
oh great thnx
oh just one other question : if i want to build a winform app C# that display speed heading altitude but i didn't understand the simconnect logic :(
 
Top