Вниз
Скачать: CL | DM;

Проблемка   Найти похожие ветки 

 
Ламер 2.Х ©   (2007-05-02 13:07) [0]

Ребят, помогите пожалуйста! Не могу понять причину ошибки:

RegSt.RegistryConnect("\\bender");
RegSt.RootKey:=HKEY_CURRENT_USER;
RegSt.OpenKey(path.Strings[1], false);
str:= RegSt.ReadString("MenuShowDelay");
SpinEdit1.Value:=StrToInt(str);
RegSt.CloseKey;
RegSt.Free; //<--- ругается на эту строку

Мож я че невнимательно смотрю


 
clickmaker ©   (2007-05-02 13:15) [1]


> Ламер 2.Х ©   (02.05.07 13:07)

как ругается?

и учти, что

When accessing a remote computer, the HKEY_CURRENT_USER key is not guaranteed to be that of the interactive user. Most likely, this will be HKEY_USER\.Default

(с) MSDN


 
Ламер 2.Х ©   (2007-05-02 13:28) [2]

Ругается очень просто выводит сообщение об ошибке:

Debugger Exception Notification

Project Projectl .exe raised exception class EExternalException with message "External exception C0000008". Process stopped. Use Step or Run to continue.


 
iXT ©   (2007-05-02 14:20) [3]

Это что же такое regSt? И откуда оно взялося?



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.03 c
2-1178050107
dreamse
2007-05-02 00:08
2007.05.20
Подскажите функцию для добавления к указаной переменной string


2-1178034619
aht
2007-05-01 19:50
2007.05.20
DB Chart


2-1178366375
Ламер 2.Х
2007-05-05 15:59
2007.05.20
Перезагрузка


3-1173133245
Mr. D.
2007-03-06 01:20
2007.05.20
Невозможность снять привелегии с SYSDBA в IBExpert


6-1163697453
Yegorchic
2006-11-16 20:17
2007.05.20
IdHTTPServer и картинка




   Наверх