Re: GetPrivateProfileString() retrieves data but strips "", ????
- From: erewhon@xxxxxxxxxx (J French)
- Date: Sat, 11 Feb 2006 09:55:09 +0000 (UTC)
On Fri, 10 Feb 2006 08:03:57 -0600, "Ralph"
<nt_consulting64@xxxxxxxxx> wrote:
"Jack" <replyTo@newsgroup> wrote in message
news:O1J5jWeLGHA.208@xxxxxxxxxxxxxxxxxxxxxxx
Interestingly, enclosing in double quotes GetPrivateProfileString()
retrieves data enclosed in single quotes.
It is fine with me but how reliable it is?
I am using vb5.
Jack
Likely as reliable as anything else MS delivers.
There has never been an "Official Specification" for Ini files. They started
out as simple proprietary 'configuration' files for Windows (rather ad hoc),
and thus the de facto standard become however MS defined the profile
functions to behave.
Being pedantic, they turned up a long time before Windows
I believe you will find that the behavior will be consistent for any one
API, tool, or utility, but expect slight differences across them.
IMO the best trick is to roll your own INI file handler
- that way you know exactly how it behaves
.
- References:
- GetPrivateProfileString() retrieves data but strips "", ????
- From: Jack
- Re: GetPrivateProfileString() retrieves data but strips "", ????
- From: Veign
- Re: GetPrivateProfileString() retrieves data but strips "", ????
- From: Bob O`Bob
- Re: GetPrivateProfileString() retrieves data but strips "", ????
- From: Veign
- Re: GetPrivateProfileString() retrieves data but strips "", ????
- From: Bob O`Bob
- Re: GetPrivateProfileString() retrieves data but strips "", ????
- From: Veign
- Re: GetPrivateProfileString() retrieves data but strips "", ????
- From: Jack
- Re: GetPrivateProfileString() retrieves data but strips "", ????
- From: Ralph
- GetPrivateProfileString() retrieves data but strips "", ????
- Prev by Date: Re: How to stop a program within a VB program?
- Next by Date: Re: Array as parameter to function
- Previous by thread: Re: GetPrivateProfileString() retrieves data but strips "", ????
- Next by thread: Re: GetPrivateProfileString() retrieves data but strips "", ????
- Index(es):
Relevant Pages
|