Главная страница
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.013 c
3-60512
bardi
2002-07-29 11:29
2002.08.19
UpdateSQL and Query


7-60864
Dmitry V. Averuanov
2002-05-11 12:06
2002.08.19
В какой каталог установлен Windows


3-60516
X-jedy
2002-07-29 17:04
2002.08.19
MySql и все, все, все...


1-60577
BAY
2002-08-07 22:11
2002.08.19
CreateProcess


4-60899
MARcoDEN
2002-06-10 20:21
2002.08.19
Проблема с хэндлом