Ver Mensaje Individual
  #1  
Antiguo 15-06-2020
Avatar de aguml
aguml aguml is offline
Miembro
 
Registrado: may 2013
Posts: 885
Reputación: 12
aguml Va por buen camino
Problemas con SelectDirectory

Hola amigos, estoy intentando mostrar una ventana donde pueda seleccionar uno o mas directorios y de momento estoy con SelectDirectory y tengo esto:
Código PHP:
#include <FileCtrl.hpp>

const SELDIRHELP 1000;
void __fastcall TForm1::Button1Click(TObject *Sender)
{
  
String Dir "C:\\Program Files\\CodeGear";
  if (
SelectDirectory(DirTSelectDirOpts() << sdAllowCreate << sdPerformCreate << sdPrompt,SELDIRHELP))
    
Label1->Caption Dir;

Si intento compilar me dice este error:
Código:
[ilink32 Error] Error: Unresolved external '__fastcall Vcl::Filectrl::SelectDirectory(System::UnicodeString&, System::Set<Vcl::Filectrl::TSelectDirOpt, 0, 2>, int)' referenced from C:\USERS\xxx\WIN32\DEBUG\UNIT1.OBJ
Ese codigo está sacado tal cual de la misma ayuda del C++Builder ¿Alguien me puede ayudar?
Responder Con Cita