Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.08.19;
Скачать: CL | DM;

Вниз

Подскажите как определить полный путь к каталогу Program Files?   Найти похожие ветки 

 
Bart ©   (2002-08-07 16:19) [0]

сабж


 
ZrenBy ©   (2002-08-07 16:23) [1]

he GetWindowsDirectory function retrieves the path of the Windows directory. The Windows directory contains such files as Windows-based applications, initialization files, and Help files.

и т. д.


 
McSimm ©   (2002-08-07 16:27) [2]

SHGetSpecialFolderLocation


 
Song ©   (2002-08-07 16:32) [3]

В реестре


 
Nikolai_S ©   (2002-08-07 16:37) [4]

>> ZrenBy
GetWindowsDirectory - находит директорию C:\Windows

>> McSimm
SHGetSpecialFolderLocation - не поддерживается Windows NT

Чтобы найти Program Files, нужно считать реестр:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir




 
Ученик ©   (2002-08-07 16:47) [5]

>Nikolai_S
>SHGetSpecialFolderLocation - не поддерживается Windows NT
Давно ?


 
McSimm ©   (2002-08-07 16:55) [6]

>Nikolai_S © (07.08.02 16:37)

Поддерживается


 
Bart ©   (2002-08-07 17:07) [7]

Nikolai_S Благодарствую!



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

Текущий архив: 2002.08.19;
Скачать: CL | DM;

Наверх




Память: 0.48 MB
Время: 0.016 c
7-60874
-=Sergeante=-
2002-05-29 11:05
2002.08.19
rs485/232


14-60832
AlexanderVasjuk
2002-07-24 18:30
2002.08.19
Вопрос не в тему


14-60853
jen_bond
2002-07-23 11:27
2002.08.19
Помогите с сылкой


7-60863
Timon
2002-06-03 14:28
2002.08.19
Свободная память


3-60486
Larisa
2002-07-28 21:55
2002.08.19
Подключение к БД на другом компьютере