Discussion:
How to read multi line in an ini file
(too old to reply)
Rudresh
2005-02-25 07:05:02 UTC
Permalink
Hi ,
I have an ini file which i read using GetPrivateProfileString. It takes CRLF
as string termination. Is there any way through which i can get multi strings
?

thanks & regards
~ Rudresh
Heinz Ozwirk
2005-02-25 09:12:28 UTC
Permalink
Post by Rudresh
Hi ,
I have an ini file which i read using GetPrivateProfileString. It takes CRLF
as string termination. Is there any way through which i can get multi strings
?
CRLF is defined to be the separator in INI files. If your files do not obey to the syntax of INI files, you cannot use the INI file API to read your files. But you should have a look at Read/WriteProfileBinary. Perhaps that might help for new files.

HTH
Heinz

Continue reading on narkive:
Loading...