Jeff Wormsley wrote:
Given:
TRegIniFile = class(TRegistry)
....
public
constructor Create(const FN: string); // <<-- no overload
constructor Create(const FN: string;aaccess:longword); overload;
....
The following must always fail:
program project2;
{$mode delphi}
// mode has no difference ofcource but error message differ
uses
Registry;
var
Reg: TRegIniFile;
begin
Reg := TRegIniFile.Create;
Reg.Free;
end.
You did not supply the filename of the INI file.
Please refer to delphi help for more info about TRegIniFile. In a few
words - it is a class that allows to work with a windows registry as
with an ini file.
Best regards,
Paul Ishenin.
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel