Показать сообщение отдельно
  #5  
Старый 06.01.2014, 21:20
Aleks99 Aleks99 вне форума
Прохожий
 
Регистрация: 06.01.2014
Сообщения: 21
Версия Delphi: 10
Репутация: 10
По умолчанию

Может в unit Unit1; что добавить нужно?
а так
Код:
if SelectDirectory(a, [sdAllowCreate, sdPerformCreate, sdPrompt], 1000) then
не работает. ошибку выдаёт

[DCC Warning] Unit1.pas(7): W1005 Unit 'FileCtrl' is specific to a platform
[DCC Error] Unit1.pas(53): E2001 Ordinal type required
[DCC Error] Unit1.pas(53): E2010 Incompatible types: 'Integer' and 'string'
[DCC Error] Unit1.pas(53): E2250 There is no overloaded version of 'SelectDirectory' that can be called with these arguments
[DCC Warning] Unit1.pas(83): W1019 For loop control variable must be simple local variable
[DCC Warning] Unit1.pas(109): W1019 For loop control variable must be simple local variable
[DCC Warning] Unit1.pas(117): W1019 For loop control variable must be simple local variable
[DCC Fatal Error] Project1.dpr(5): F2063 Could not compile used unit 'Unit1.pas'



Если не трудно с рабочим примером помоги.
тут фотки программы "Так есть" - нет возможности выбрать другой диск

http://img-fotki.yandex.ru/get/6730/...5e98fb3f_L.jpg http://img-fotki.yandex.ru/get/9797/...e262d98e_L.jpg
Ответить с цитированием