Re: TInifile.ReadSection does not read values
- From: "alanglloyd@xxxxxxx" <alanglloyd@xxxxxxx>
- Date: 26 Mar 2006 21:45:36 -0800
This API has a parameter called FFilename filled
with 'jaeger2koptor.ini'. This wasn't enough: I had to specify the entire
path to make sure that GetPrivateProfileString() would return 'true'.
That's what MSDN says ...
"lpFileName
[in] Pointer to a null-terminated string that specifies the name of the
initialization file. If this parameter does not contain a full path to
the file, the system searches for the file in the Windows directory."
Alan Lloyd
.
- References:
- TInifile.ReadSection does not read values
- From: Shiva
- Re: TInifile.ReadSection does not read values
- From: Maarten Wiltink
- Re: TInifile.ReadSection does not read values
- From: Shiva
- TInifile.ReadSection does not read values
- Prev by Date: Re: Labels on TChart (of behaviour)
- Next by Date: Re: Delphi 5 excel automation problem
- Previous by thread: Re: TInifile.ReadSection does not read values
- Next by thread: Re: TInifile.ReadSection does not read values
- Index(es):
Relevant Pages
|