Article View: borland.public.cppbuilder.nativeapi
Article #13031SHGetSpecialFolderLocation not found
From: Jaepil Kim
Date: Fri, 31 Oct 2003 01:07
Date: Fri, 31 Oct 2003 01:07
19 lines
1594 bytes
1594 bytes
Hi I m using BCB 5.0 personal edition. I wanted to find 'My documents' folder, so tried to use SHGetSpecialFolderLocation. But my builder tells me that function is not defined. Then i found a few postings about this function. It figures that i need to inlcude "shlobj.h" But when i included the file i got following messages. [C++ Error] shlobj.h(1762): E2238 Multiple declaration for 'FVSHOWINFO' [C++ Error] shlobj.h(1936): E2238 Multiple declaration for 'FOLDERSETTINGS' [C++ Error] shlobj.h(3717): E2238 Multiple declaration for 'DESKBANDINFO' [C++ Error] shlobj.h(4808): E2238 Multiple declaration for 'SHELLFLAGSTATE' What should i do??
Technical Details
Message-ID:
<3fa1b5bf$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,de5620a405244d51,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-30 17:09:19 PST Date: Fri, 31 Oct 2003 14:07:04 +1300 From: Jaepil Kim <jaepil@splashmedia.co.nz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: SHGetSpecialFolderLocation not found Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 202.0.52.53 Message-ID: <3fa1b5bf$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1067562431 202.0.52.53 (30 Oct 2003 17:07:11 -0700) Lines: 20 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail