luisgordo Posted June 7, 2008 Report Posted June 7, 2008 Hi there, I would appreciate some help for retrieving the FSUIPC version. I am using .NET. Per th documentation, the FSUIPC version is in offset 3304 (length 4). I am reading with a "Long" type variable in .NET, but from there, I do not know how to retrieve the FSUIPC number. How can I convert the contents of the HIWORD to get the version number? I read the number would have to be divided by 1000, but this doesn't give 3.75 (which is the version I am using). I have also tried reading at 3306 with a "Short" type variable, but still I do not know how to convert what I read. Any insight on this? Thanks! Luis
Thomas Richter Posted June 7, 2008 Report Posted June 7, 2008 Hi BCD is the Hex format! The current version of FSUIPC I use is 3.811. The HiWord 3306, 2 Byte length gives the value 14353 14353 to Hex gives the result 3811 :D
Pete Dowson Posted June 10, 2008 Report Posted June 10, 2008 Thanks, that did the trick!! :) A quick way of seeing exactly what is going on with any offset is to use FSInterrogate, the very tool provided for this. There you would clearly see in the Hexadecimal representation the "decimal" version number clearly. Of course another tool to be used when developing programs is the IPC read/write logging built into FSUIPC, or even the monitoring facilities for specific locations. I am continually amazed at how many folks struggle on to develop their program without using the tools provided. Regards Pete
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now