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(Dir, TSelectDirOpts() << 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?