GetSpecialFolder() , how !?
Posted: Tue Mar 23, 2010 8:39 am
Hey there
I have been using GetSpecialFolder from madshell unit,
I looked at the source examples provided with madcollection documentation.
don't know what's the problem .
here's the log :
don't know how to define the second parameter .
also here's the example provided in documentation :
and here's my code :
Could anyone help?
I have been using GetSpecialFolder from madshell unit,
I looked at the source examples provided with madcollection documentation.
don't know what's the problem .
here's the log :
Code: Select all
[DCC Error] Unit1.pas(30): E2035 Not enough actual parameters
also here's the example provided in documentation :
Code: Select all
GetSpecialFolder(sfProgramFiles)
Code: Select all
procedure TForm1.Button1Click(Sender: TObject);
var
prg:String;
begin
prg:= GetSpecialFolder(sfProgramFiles) ;
end;
end.