hi pete i explaining for you.
my plain on KFJK fs-interrograte2 give to 19389166912339968 this for latitude and give to -3780828464629678080 for longtitude
our program is give 40,6224209853394 this for latitude and give 0,378391984002775 for longtitude
this is longtitude function
function GetLon: Int64;
var
deger : Int64;
begin
FSUIPC_Open(SIM_Any,dwResult);
FSUIPC_Read($0560, 8, @deger, dwResult);
if FSUIPC_Process(dwResult) then
begin
Result := deger * 360 / (65536.0 * 65536.0 * 65536.0 * 65536.0);
end else
begin
Result := -100;
end;
end;
and
this is
function GetLat: Int64;
var
deger : Int64;
begin
FSUIPC_Open(SIM_Any,dwResult);
FSUIPC_Read($0560, 8, @deger, dwResult);
if FSUIPC_Process(dwResult) then
begin
Result := deger * 90 / (10001750.0 * 65536.0 * 65536.0);
end else
begin
Result := -100;
end;
end;
FS Interrogate2 say for latitude
Variable type Int64 and expression #*90/(10001750*65536*65536)
FS Interrogate2 say for longtitude
variable type Int64 and expression #*360/(65536*65536*65536*65536))
where is my problem ?
thank you for your helps
Regards
Burak ÖĞÜTKEN