[programming] Re: TIniFile problem in D3

  • From: Joshua Brannon <jbrannon@xxxxxxx>
  • To: "programming@xxxxxxxxxxxxx" <programming@xxxxxxxxxxxxx>
  • Date: Tue, 2 Oct 2001 10:53:43 -0600

Thank you!!! I've spent two days trying to do that. It's been a while since
I've used INI files. :)


>Here is the error: ConfigFile is a variable, not a type. You cannot
>create the variables themselves, only a type instance. You should either
>  with TInifile.Create(ChangeFileExt(ParamStr(0),'.INI')) do
>in which case, you do not need the ConfigFile variable. Or:
>  ConfigFile := TIniFile.Create(ChangeFileExt(ParamStr(0),'.INI'))
>  with ConfigFile do
>These are the proper ways to use a TIniFile.
>-- Erwin Dokter
>   mailto:edokter@xxxxxxx
>   http://members.home.nl/edokter

To unsubscribe, send a message to programming-request@xxxxxxxxxxxxx with the 
words "unsubscribe"  (without quotes) in the subject feild.  OR visit 

Other related posts: