Autor Beitrag
SideshowBob
Hält's aus hier
Beiträge: 11

Win XP Home, SuSE Linux 9.2
D6 Pers
BeitragVerfasst: Di 26.07.05 21:31 
ne ganz einfache Frage:

welche der Delphi-funktionen WriteInteger, WriteDouble, ReadInteger, etc.... entsprechen den registry-typen REG_BINARY bzw. REG_DWORD ??? :?

Moderiert von user profile iconTino: Titel geändert.
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: Di 26.07.05 22:14 
Ich glaube binary kann so ziemlich alles speichern und ist damit nicht typgebunden (ggf. noch Stream, zum Speichern/Laden). DWord müsste ein dword/longword/cardinal sein ;)

Gruß,
maxk

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
DaRkFiRe
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 526

WinXP Home & Professional
C, C++, Delphi
BeitragVerfasst: Di 26.07.05 22:26 
afaik können die binaries nur exakt 2kB speichern, also 2048 Bytes.

_________________
Lang ist der Weg durch Lehren - kurz und wirksam durch Beispiele! Seneca
SideshowBob Threadstarter
Hält's aus hier
Beiträge: 11

Win XP Home, SuSE Linux 9.2
D6 Pers
BeitragVerfasst: Di 26.07.05 23:25 
das meinte ich nicht..
was ich meinte ist:
erzeugt WriteInteger,etc. einen REG_BINARY oder einen REG_DWORD wert?
oder wie kann ich bestimmen welchen REG_*-typ mein registry eintrag hat?
Harry M.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754

Win 2000, XP
D2005
BeitragVerfasst: Di 26.07.05 23:44 
Integer = REG_DWORD
String = REG_SZ

Studieren geht über probieren - oder doch anders rum - naja egal.

_________________
Gruß Harry
Et spes me per dies sine te ducat et amor me ferat, si dolor spem tollit.
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: Mi 27.07.05 00:45 
user profile iconSideshowBob hat folgendes geschrieben:
oder wie kann ich bestimmen welchen REG_*-typ mein registry eintrag hat?

[delphihilfe]TRegistry.GetDataType[/delphihilfe]

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.