Autor Beitrag
TheNeon
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 408

Windows
VS2010 C#
BeitragVerfasst: Fr 05.11.04 14:23 
Hallo,

also ich hab folgendes Problem:
Ich kann die Werte auslesen mit GetValueNames(StringList), doch wie bekomme ich raus, welcher Typ das ist und vor allem, wie der Wert davon ist???


Danke,
TheNeon :wave:
Stübi
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 331

Win XP, Win 2000, Win ME
D5 Ent, D7 Prof, D2005 PE, C#
BeitragVerfasst: Fr 05.11.04 15:00 
Versuch mal:

ausblenden Delphi-Quelltext
1:
2:
3:
    RootKey := HKEY_LOCAL_MACHINE;
    OpenKey(Schlüssenpfand öffnen,False);
    GetKeyNames(Des Schlüssels); //Wird in des Schlüssels gespeichert TStringlist


Gruss Stübi

_________________
Neun von zehn Stimmen in meinen Kopf sagen, dass ich nicht verrückt sei. Die zehnte summt die Tetrismelodie.
TheNeon Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 408

Windows
VS2010 C#
BeitragVerfasst: Fr 05.11.04 17:19 
Hi,

das habe ich aber bereits :wink:

mit GetKeyNames erhalte ich alle Schlüssel im aktuellen Schlüssel.
mit GetValueNames erhalte ich alle Einträge im aktuellen Schlüssel


Problem ist nun:
woher weiß ich nun, ob es sich um einen String, DWord oder so handelt??
....und welchen Wert hat der Eintrag ????
TheNeon Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 408

Windows
VS2010 C#
BeitragVerfasst: Fr 05.11.04 17:40 
ok, habs gefunden