Hi Paul,
After my query the other day about sending key presses to FSX, my code is working perfectly, BUT I am using both simConnect and FSUIPC Client. This seems a bit over the top, since the only thing I want to do in simconnect now is move the aircraft to a give latitude and longitude.
FsLatLonPoint fsLatLonPoint = new FsLatLonPoint(lat,lon);
FsAltitude fsAltitude = new FsAltitude(0);
//Send Structure to simconnect to position aicraft
//simconnect.SetDataOnSimObject(DEFINITIONS.Struct1, 0, SIMCONNECT_DATA_SET_FLAG.DEFAULT, s);
FSUIPCConnection.MoveAircraft(fsLatLonPoint, true, fsAltitude, 0, 0, 0, 0, true);
As you can see above, I commented out the simconnect instruction and replaced with the FSUIPCConnection instruction. Whilst it works, FSX then Loads Terrain, ATC etc after each move. Any idea why and how I can stop this?
Many thanks
Martin