Ver Mensaje Individual
  #7  
Antiguo 22-12-2004
Chupi Chupi is offline
Miembro
 
Registrado: dic 2004
Posts: 12
Reputación: 0
Chupi Va por buen camino
Pues parece que no funciona, le puse el siguiente codigo y nada:

procedure TForm1.Button1Click(Sender: TObject);
function GetSpecialFolder(nFolder: Integer): String;
var
Path: array[0..MAX_PATH] of Char;
begin
ShlObj.SHGetSpecialFolderPath(0, Path, nFolder, false);
Result := Path;
end;
End;
end.

Me da los siguientes errores:

[Error] Unit1.pas(39): BEGIN expected but END found
[Fatal Error] Project1.dpr(5): Could not compile used unit 'Unit1.pas'
__________________
No se cuál es mi mayor vicio, el cigarro, o el ordenador
Responder Con Cita