Re: Fix Private Profile Functions for .INI in Current Directory
14 Jun
2004
14 Jun
'04
5:17 p.m.
Robert Shearman <R.J.Shearman(a)warwick.ac.uk> writes:
As per MSDN (1), if a relative path to a file is passed in to the {Get,Write}PrivateProfile* functions then the current directory is tried first, and then if that fails the Windows directory is used (for both the opening and creating cases).
I don't see any evidence that this is true, and MSDN says "If the lpFileName parameter does not contain a full path and file name for the file, WritePrivateProfileString searches the Windows directory for the file". Do you have a test case showing that the current behavior is wrong? -- Alexandre Julliard julliard(a)winehq.org
7854
Age (days ago)
7854
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard