You are not allowed to from HKEY_CURRENT_USER in a service Paul
----- Original Message ----- From: "Monir-SitesPower" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, March 19, 2007 1:31 PM Subject: Reading Internet options in TService > Hi, > To read the proxy address and port I use one of the followings way: > 1- Using registry by reading it from > //HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet > Settings. > > 2- Using WinInet InternetQueryOption function with INTERNET_OPTION_PROXY > parameter. > > Both ways are working fine in ordinary Delphi application, but they are > always gives empty results when I use the same code in service application > (TService). > > Can you please help in solving this problem? > > Thank you > > _______________________________________________ > Delphi mailing list -> [email protected] > http://www.elists.org/mailman/listinfo/delphi > > _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

