|
#1
|
|||
|
|||
|
Hi,
I am using the following code to extract registy values from my WM5 mobile phone: ***************** k$ = Reg_OpenKey(HKEY_CURRENT_USER, "\\System\\State\\Appointments\\HomeScreen"); Reg_GetValues(k$, &Value$); goto(Value$, 4); showmessage(Reg_GetKeyValue(k$, Value$, FALSE)); Reg_CloseKey(k$); ****************** The value I want to read is a appointment end time in binary format :00 40 2f 8D e1 27 cb 01 When I run the code the following value is displayed: 728422400 Can anyone help in getting the correct time out of this number? Thanks in advance Michael |
|
#2
|
|||
|
|||
|
Hi Michael!
I had a look on that Value and its type is REG_BINARY. So after comparing several values on my WinMo-Device I guess that this is one giant number. Your number might stand for July 20th 2010, 9:30am MESZ (CEST)? The value is stored as a Little Endian, so you'll have to read the bytes (not the bits) from "right" to "left". An intervall of 600.000.000 is equivalent to one minute. Hope this might be helpful for you, Daniel |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|