🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14053

SHGetSpecialFolderLocation!

#14053
From: Safari
Date: Sun, 24 Aug 2003 16:23
19 lines
1477 bytes
Thanks Ed,

Please help me :-)
if (FindFirst(Path + "*.~*;*.tmp;*.temp;*.wri;*.doc", faAnyFile, Search) 
== 0)

| int main()
| {
| char TmpDir[MAX_PATH + 1] = {0};
| char long_dir[MAX_PATH + 1];
| GetTempPath(MAX_PATH, TmpDir);
| printf("%s\n", TmpDir);
| GetLongPathName(TmpDir, long_dir, sizeof(long_dir));
| printf("%s\n", long_dir);
| return 0;
| }

Thanks again,
Safari
Technical Details
Message-ID: <3F48E683.1000408@alloymail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!pln-e!extra.newsguy.com!lotsanews.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.nuthinbutnews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

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-24 14:21:44 PST
Message-ID: <3F48E683.1000408@alloymail.com>
Date: Sun, 24 Aug 2003 20:53:31 +0430
From: Safari <Safari@alloymail.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: SHGetSpecialFolderLocation!
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 194.225.63.197
X-Trace: newsgroups.borland.com 1061759593 194.225.63.197 (24 Aug 2003 14:13:13 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!pln-e!extra.newsguy.com!lotsanews.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.nuthinbutnews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail