🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
6 messages
6 total messages Started by CC Fri, 07 Mar 2003 16:37
TEMP folder location.
#17635
Author: CC
Date: Fri, 07 Mar 2003 16:37
6 lines
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.
#17636
Author: Steve
Date: Fri, 07 Mar 2003 16:52
21 lines
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.
#17637
Author: Steve
Date: Fri, 07 Mar 2003 16:58
21 lines
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.
#17638
Author: Remy Lebeau (TeamB)
Date: Fri, 07 Mar 2003 18:23
9 lines
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.
#17639
Author: Remy Lebeau (TeamB)
Date: Fri, 07 Mar 2003 18:25
13 lines
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.
#17645
Author: Sam
Date: Fri, 07 Mar 2003 21:27
13 lines
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