Alaska Software Inc. - Bug StrToHex( ALLTRIM(xRet) ) ?
Username: Password:
AuthorTopic: Bug StrToHex( ALLTRIM(xRet) ) ?
AUGE_OHRBug StrToHex( ALLTRIM(xRet) ) ?
on Sun, 15 May 2011 21:33:17 +0200
hi,

reading Registry REG_BINARY Value with StrToHex()*** work fine with
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones"
"TZI" Value

now i had Problem with all GMT +8 Timezone like
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones\Taipei Standard Time"

i got FEFFFF00 0000 instead of 20FEFFFF 0000... 

i found Differenz in StrToHex( ALLTRIM(xRet) ) instead of StrToHex( xRet )
... but i do not understand why ?

*** StrToHex() is fom XbTools

greetings by OHR
Jimmy
AUGE_OHRRe: Bug StrToHex( ALLTRIM(xRet) ) ?
on Sun, 15 May 2011 22:13:40 +0200
hi,

ok got it :

Hex 20 -> Integer 32 - > SPACE

so ALLTRIM() "regcognize" Hex 20 as SPACE ...

 greetings by OHR
Jimmy