Article View: borland.public.cppbuilder.nativeapi
Article #14220Re: SHGetSpecialFolderLocation!
From: Safari
Date: Wed, 20 Aug 2003 14:41
Date: Wed, 20 Aug 2003 14:41
30 lines
1755 bytes
1755 bytes
Thanks Remy,
Please look at this:
{
char TmpDir[MAX_PATH + 1] = {0};
GetTempPath(MAX_PATH, TmpDir)
}
Return me:
"D:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\"
How can i have:
"D:\Documents and Settings\Administrator\Local Settings\Temp\"?
My Meaning is: LongPath and ShortPath.
Thanks again,
Safari
"Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message
news:3f429e1d$1@newsgroups.borland.com...
|
| "Safari" <Safari@alloymail.com> wrote in message
| news:3F425543.9040507@alloymail.com...
|
| > I use "ShlOBJ.hpp" & "ShellApi.hpp" but return me error!
|
| Use shlobj.h directly instead. If you are using BCB5 or 6, you'll also
have
| to add NO_WIN32_LEAN_AND_MEAN to your project's conditionals list.
|
| Gambit
Technical Details
Message-ID:
<3f44ad81@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3F425543.9040507@alloymail.com> <3f429e1d$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,7ce38efab0f8f813 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-08-21 04:34:20 PST From: "Safari" <Safari@alloymail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3F425543.9040507@alloymail.com> <3f429e1d$1@newsgroups.borland.com> Subject: Re: SHGetSpecialFolderLocation! Date: Wed, 20 Aug 2003 19:11:16 +0430 Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 194.225.63.249 Message-ID: <3f44ad81@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1061465473 194.225.63.249 (21 Aug 2003 04:31:13 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail