| |
|
|
 Jac de Lad | I can with XProfan 11.1 under windows Vista on The values in HKEY_LOCAL_MACHINE by ReadIni$() zugreifen; has someone the same trouble or knows someone remedy?
Jac  |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 12/23/08 ▲ |
|
|
|
|
 Jac de Lad | I habs in Ner virtual surroundings under XPSP3 probiert, there GEHTS. under my Vista SP1 GEHTS only HKEY_1, not HKEY_2. Adminrechte help neither.
Jac  |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 12/23/08 ▲ |
|
|
|
|
 Andreas Miethe
 | is by me no trouble, functions with Vista with and without Adminrechten. |
|
|
| Gruss Andreas ________ ________ ________ ________ _ Profan 3.3 - XProfanX2 Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher Homepage : [...]  | 12/23/08 ▲ |
|
|
|
|
 Jac de Lad | self one minimales Program (Messagebox with ReadIni$() drin) fail by me (but only HKEY_2). |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 12/23/08 ▲ |
|
|
|
|
 Jac de Lad | 
too the following Program functions only whom HKEY_CURRENT_USER-Schlüsseln. CompileMarkSeparationdef @RegOpenKeyEx(5) !ADVAPI32,RegOpenKeyExA
def @RegQueryValueEx(6) !ADVAPI32,RegQueryValueExA
def @RegCloseKey(1) !ADVAPI32,RegCloseKey
declare Handle#
dim Handle#,4
declare Key#
dim Key#,100
string Key#,0=SOFTWARE\Red Orb Entertainment\Riven\1.0GE Pfad des Schlüssels
string Key#,0=SOFTWARE Pfad des Schlüssels
declare Name#
dim Name#,100
string Name#,0=Test Name des Wertes
declare Size#
dim Size#,100
long Size#,0=100 Länge des Wertes: 4 Bytes bei DWord
declare Wert#
dim Wert#,100 Empfangsbereich für Wert: 4 Bytes bei DWord
print @RegOpenKeyEx($80000002,Key#,0,REG_SZ,Handle#) 0 wenn ok
print @RegQueryValueEx(@Long(Handle#,0),Name#,0,0,Wert#,Size#) 0 wenn ok
print @RegCloseKey(@Long(Handle#,0)) 0 wenn ok
Print String$(wert#,0)
print hex$(long(Wert#,0)) Wert als Hex$ ausgeben
dispose Handle#
dispose Key#
dispose Wert#
dispose Name#
dispose Size#
waitkey
The Regedit can but on The Key grab. |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 12/24/08 ▲ |
|
|
|
|
 Jac de Lad | Harr, harr, found!
I work with the 64bit-Version Windows Vista, there there one Wow6432Node, the I with the Key automatically grab wants. the works the naturally not Stammverzeichnis.  |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 12/27/08 ▲ |
|
|
|