13. Mai 2009 20:54
fncCheckWindreamRegG() parChckWDRegOKL : Boolean
parChckWDRegOKL := (fncRegReadG('HKEY_LOCAL_MACHINE\SOFTWARE\A.I.S. GmbH\windream\','CurrentVersion') <> '');
fncRegReadG(Path : Text[250];Key : Text[250]) : Text[1024]
IF ISCLEAR(WshShellL) THEN
CREATE(WshShellL);
EXIT(FORMAT(WshShellL.RegRead(fncCreateFullKeyG(Path,Key))));
fncCreateFullKeyG(Path : Text[250];Key : Text[250]) : Text[1024]
IF STRPOS(UPPERCASE(Path),'HKEY_CURRENT_USER') +
STRPOS(UPPERCASE(Path),'HKEY_LOCAL_MACHINE') +
STRPOS(UPPERCASE(Path),'HKEY_CLASSES_ROOT') +
STRPOS(UPPERCASE(Path),'HKEY_USERS') +
STRPOS(UPPERCASE(Path),'HKEY_CURRENT_CONFIG') = 0
THEN
ERROR('Unknown root key name');
EXIT(DELCHR(Path,'>','\') + '\' + Key);
13. Mai 2009 21:12
14. Mai 2009 08:07
19. Mai 2009 07:51