I am so sorry to bother everyone with this, I get the feeling that the topic has been dealt with in the past to the point where people kick their monitors when messages like this pop up, but I've spent more than a week on this and searched endlessly through the forum.
I am reading offset 2038 for example, from VB with the latest FSUIPC.
(everything works fine other than this)
on FSInterrogate the correct value displays under FLOAT64, where random values appear on INT, and WORD, etc.
I read about the FAKE64 currency variable,
so I used
Dim itt As Currency
Dim itttwo As Double
If FSUIPC_Read(&H2038, 8, VarPtr(itt), dwResult) Then
If FSUIPC_Process(dwResult) Then
itttwo = (itt * 10000#)
Label1.Caption=itt & " " & itttwo
......
My label shows
itt = 464781744737377.0974
itttwo = 4.64781744737377E+18
and fsinterrogate shows
ignore the box where the cursor is, I was WRITING some other values to see the reaction in VB
Can anyone please tell me how to get the correct numbers on VB6 ?
I have been fiddling with it forever and everything is working wonderfully, except for this... and a great deal of data comes in as 64bit through FSUIPC...
Thank you all in advance, sorry to waste your time.
In the future I plan to release my work so everyone can enjoy it... basically, it'll involve FLASH, MSFS and possibly some DIY parallel switches and lights... freeware .......
I've been researching endlessly and found some useful info on the way VB stores date, little-endian and IEEE 64-bit format.... am I on the right track ?
Please help !!!! :roll:
THANK YOU !! :wink: