Re: [pgsql-hackers-win32] More SSL questions..

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "T(dot)J(dot)" <tjtoocool(at)phreaker(dot)net>, pgsql-bugs(at)postgresql(dot)org, pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: [pgsql-hackers-win32] More SSL questions..
Date: 2005-01-04 22:51:33
Message-ID: 41DB1DF5.1060007@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers-win32

Matthew T. O'Connor wrote:

> Tom Lane wrote:
>
>>
>>
>> If someone can whip up and test a WIN32 version of this, I'll take care
>> of the rest.
>>
>>
>
> I can't do the coding, but I took a quick look at msdn and I think
> this is relevant:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shgetfolderpath.asp
>
>
> HRESULT SHGetFolderPath( HWND /hwndOwner/,
> int /nFolder/,
> HANDLE /hToken/,
> DWORD /dwFlags/,
> LPTSTR /pszPath/
> );
>
>
> Also, for nFolder, it looks like the we want to use a value of
> CSIDL_PROFILE (0x0028).

Er, I don't think so. MSDN says:

CSIDL_PROFILE (0x0028)
Version 5.0. The user's profile folder. A typical path is
C:\Documents and Settings\username. Applications should not create files
or folders at this level; they should put their data under the locations
referred to by CSIDL_APPDATA or CSIDL_LOCAL_APPDATA.

I think CSIDL_APPDDATA is probably the way to go, but one of the heavy
Windows hitters will know better than I do.

cheers

andrew

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tanel Hiir 2005-01-04 23:12:12 Two broken linksin doc/FAQ_DEV
Previous Message Matthew T. O'Connor 2005-01-04 22:28:45 Re: More SSL questions..

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Tom Lane 2005-01-04 23:25:40 Re: [pgsql-hackers-win32] More SSL questions..
Previous Message Matthew T. O'Connor 2005-01-04 22:28:45 Re: More SSL questions..