Thread View: borland.public.cppbuilder.nativeapi
6 messages
6 total messages
Started by CC
Fri, 07 Mar 2003 16:37
TEMP folder location.
Author: CC
Date: Fri, 07 Mar 2003 16:37
Date: Fri, 07 Mar 2003 16:37
6 lines
1055 bytes
1055 bytes
Greetings - I was wondering how to find the Temporary folder location? I thought the SHGetSPecialFolderLocation() api would do the trick, but I don't seen any values to specify a temp folder location? Thanks, CurtC
R: TEMP folder location.
Author: Steve
Date: Fri, 07 Mar 2003 16:52
Date: Fri, 07 Mar 2003 16:52
21 lines
1450 bytes
1450 bytes
After SHGetSPecialFolderLocation(), you should call SHGetPathFromIDList() with the pidl returned. Remember to free the pointer to pidl at the end. HTH, Steve. CC <Xcurtc@tmscorp.com> wrote in message 3e68cab8$1@newsgroups.borland.com... > Greetings - I was wondering how to find the Temporary folder location? I > thought the SHGetSPecialFolderLocation() api would do the trick, but I don't > seen any values to specify a temp folder location? > > Thanks, > CurtC > >
R: TEMP folder location.
Author: Steve
Date: Fri, 07 Mar 2003 16:58
Date: Fri, 07 Mar 2003 16:58
21 lines
1386 bytes
1386 bytes
Have a look at this, too. http://www.bcbdev.com/faqs/faq80.htm Bye, Steve. CC <Xcurtc@tmscorp.com> wrote in message 3e68cab8$1@newsgroups.borland.com... > Greetings - I was wondering how to find the Temporary folder location? I > thought the SHGetSPecialFolderLocation() api would do the trick, but I don't > seen any values to specify a temp folder location? > > Thanks, > CurtC > >
Re: TEMP folder location.
Author: Remy Lebeau (TeamB)
Date: Fri, 07 Mar 2003 18:23
Date: Fri, 07 Mar 2003 18:23
9 lines
1118 bytes
1118 bytes
"CC" <Xcurtc@tmscorp.com> wrote in message news:3e68cab8$1@newsgroups.borland.com... > I was wondering how to find the Temporary folder location? GetTempPath(). Gambit
Re: TEMP folder location.
Author: Remy Lebeau (TeamB)
Date: Fri, 07 Mar 2003 18:25
Date: Fri, 07 Mar 2003 18:25
13 lines
1635 bytes
1635 bytes
In order to use SHGetPathFromIDList(), you need a ITEMIDLIST from which to convert. Without having any CSIDL available for retreiving the %TEMP% folder itself in the first place, SHGetSpecialFolderLocation() can't be used, thus no ITEMIDLIST available to convert. Gambit "Steve" <steve_alettoANTI@SPAMhotmail.com> wrote in message news:3e68cecf$1@newsgroups.borland.com... > After SHGetSPecialFolderLocation(), you should call > SHGetPathFromIDList() with the pidl returned. Remember > to free the pointer to pidl at the end.
Re: TEMP folder location.
Author: Sam
Date: Fri, 07 Mar 2003 21:27
Date: Fri, 07 Mar 2003 21:27
13 lines
1254 bytes
1254 bytes
CC wrote: > Greetings - I was wondering how to find the Temporary folder location? I > thought the SHGetSPecialFolderLocation() api would do the trick, but I don't > seen any values to specify a temp folder location? > > Thanks, > CurtC > > GetTempPath() Sam
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads