![]() |
AW: Hexadezimale Zahl in Registry speichern
Zitat:
|
AW: Hexadezimale Zahl in Registry speichern
Genau!
Delphi-Quellcode:
Ergebnis ist 7
var
i: Integer; k: ShortInt; begin i := 1031; k := i; ShowMessage(IntToStr(k)); end; Oder
Code:
1031 - 128 - 128 - 128 - 128 - 128 - 128 - 128 - 128 = 7
|
AW: Hexadezimale Zahl in Registry speichern
Logisch, für 1031 brauchst Du mindestens 11 Bit, ShortInt hat aber nur 8.
|
AW: Hexadezimale Zahl in Registry speichern
Und soll das nun wirklich als "String mit der hexadezimalen Darstellung einer Zahl" in die Registry
oder nicht doch einfach nur als "Integer DWORD" ? |
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:52 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz