TRegIniFile.Create('') fails in D6
Posted on 2002-07-04
I often used TRegIniFile and declared
RegItem := TRegIniFile.Create('');
Which fails in D6.
I've got round it by using TRegistry and declared
RegItem := TRegistry.Create;
But TRegIniFile.Create('') always worked OK in D5 and below as far as I remember. Just tested and still works OK in D5 on same system.
Is this a D6 bug or was I doing something wrong until D6 stopped me?
I have Delphi 6 sp2 installed and running on winxp.
I searched but have not found anything relevant so far.
Anyone know what is going on here?