Re: parsing INI files...
From: Carl Daniel [VC++ MVP] (cpdaniel_remove_this_and_nospam_at_mvps.org.nospam)
Date: 05/25/04
- Next message: Igor Tandetnik: "Re: parsing INI files..."
- Previous message: Need Helps: "parsing INI files..."
- In reply to: Need Helps: "parsing INI files..."
- Next in thread: Tim Roberts: "Re: parsing INI files..."
- Reply: Tim Roberts: "Re: parsing INI files..."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 25 May 2004 13:12:59 -0700
Need Helps wrote:
> I'm creating a Win32 application, and I want to have some parameters
> defined in an INI file that is read in by the application. Being new
> to programming with Win32, I don't know how to parse INI files. I
> know how to do simple input/output from a text file, but is there a
> set of APIs specifically for reading parameters from an INI file? If
> so, where can I find the documentation for them? (I'm having no luck
> so far finding useful information on msdn.com) Thanks in advance!
Most new apps don't use INI files, rather they use XML or something in the
registry.
That said, if you want to read an INI file, look up GetPrivateProfileInt,
GetPrivateProfileString (etc) in MSDN.
-cd
- Next message: Igor Tandetnik: "Re: parsing INI files..."
- Previous message: Need Helps: "parsing INI files..."
- In reply to: Need Helps: "parsing INI files..."
- Next in thread: Tim Roberts: "Re: parsing INI files..."
- Reply: Tim Roberts: "Re: parsing INI files..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|