Forum: Win32/Win64 API (native code)
Delphi
by xtrnrfe,
21. Dez 2007
Hab die Lösung gefunden:
Reg:=TRegistry.Create(KEY_ALL_ACCESS OR KEY_WOW64_64KEY);
Hab ein 64bit-Vista!
Danke trotzdem!
Forum: Win32/Win64 API (native code)
Delphi
by xtrnrfe,
21. Dez 2007
Hallo!
Pfad ist korrekt.
Ein leerer String wird zurückgegeben. Length(tmp) ist 0.
Forum: Win32/Win64 API (native code)
Delphi
by xtrnrfe,
21. Dez 2007
Hallo miteinander!
Weiss jemand warum dieser Code:
Reg:=TRegistry.Create;
try
Reg.RootKey := HKEY_LOCAL_MACHINE;
Reg.OpenKeyReadOnly('Software\Microsoft\Windows NT\CurrentVersion');
tmp:=Reg.ReadString('ProductId');