Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to read multi line in an ini file

0 views
Skip to first unread message

Rudresh

unread,
Feb 25, 2005, 2:05:02 AM2/25/05
to
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

unread,
Feb 25, 2005, 4:12:28 AM2/25/05
to
"Rudresh" <Rud...@discussions.microsoft.com> schrieb im Newsbeitrag news:19B624A9-A00A-430D...@microsoft.com...

> 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

0 new messages