|
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 differuses Registry; var Reg: TRegIniFile; begin Reg := TRegIniFile.Create; Reg.Free; end. You did not supply the filename of the INI file. Jeff. Paul Ishenin wrote: Paul Ishenin wrote: -- I haven't smoked for 1 year, 8 months and 3 weeks, saving $2,854.70 and not smoking 19,031.38 cigarettes. |
_______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
