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

Как прогр. узнать где расположены папки Windows и Prog. Files   Найти похожие ветки 

 
explorer ©   (2003-11-14 07:44) [0]

Мастера!
Подскажите, как реализовать сабж, чтобы затем подставить в Path?


 
debugger ©   (2003-11-14 09:33) [1]

windows - в системной переменной windir.
program files - в одноименной системной переменной (для NT).
Читать с помощью GetEnvironmentVariable.


 
explorer ©   (2003-11-14 11:33) [2]

debugger ©
А если для Win95/98/ME ?


 
serge   (2003-11-14 12:10) [3]

You can use the SHGetSpecialFolderLocation function to retrieve the location of a special folder, which can be virtual or part of the file system. The function returns a PIDL, which the application must eventually free using the shell"s allocator. If the folder is part of the file system, you can convert the PIDL to a file system path by using the SHGetPathFromIDList function. For a list of special folders, see the description of the SHGetSpecialFolderLocation function.


 
Dimka Maslov ©   (2003-11-14 12:27) [4]

http://delphibase.endimus.com/?action=viewtopic&topic=sysparams



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

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



Память: 0.45 MB
Время: 0.032 c
1-93426
DDA
2004-01-16 13:06
2004.01.29
Завершение потока


1-93457
kaginava
2004-01-16 07:55
2004.01.29
Servis в W2K


1-93513
Agent[007]
2004-01-12 21:30
2004.01.29
TStrings to TBitmap


7-93716
Davey
2003-11-10 15:14
2004.01.29
загрузка памяти процессом


3-93337
ИМХО
2004-01-04 22:32
2004.01.29
Проблема с наборами данных и TDBGrid




   Наверх