ini files

  • Thread starter Thread starter Duncan Winn
  • Start date Start date
MFC's CStdioFile is probably the easiest way to open the file if it's in
text...
Then use the readline method to check each line...

You'll want something like a list of keywords, which you can check your read
line against.

Good luck.
Dan.

What is the best way of accessing info from ini files from VC++ (in VS.NET).
 
What is the best way of accessing info from ini files from VC++ (in VS.NET).

Try using the GetPrivateProfileXXX/WritePrivateProfilexxx APIs.

Dave
 
thanks

Andreas Magnusson said:
Or you could use the functions designed for ini-files: GetProfileString,
WriteProfileString, GetProfileSection et al.

/Andreas
 
Back
Top