🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: SHGetSpecialFolderLocation not found

#13032
From: Hern�n Tornielli
Date: Fri, 31 Oct 2003 01:36
23 lines
1818 bytes
"Jaepil Kim" <jaepil@splashmedia.co.nz> escribi� en
el mensaje news:3fa1b5bf$1@newsgroups.borland.com...

> 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'

Try including NO_WIN32_LEAN_AND_MEAN in your global conditional defines.
(Project options - Directories/Conditionals - Conditional defines). See
the product
readme.txt file for more information.
This works for me (BCB5 Enterprise).

Hernan Tornielli
Technical Details
Message-ID: <3fa1bc5a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fa1b5bf$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,de5620a405244d51
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-30 17:39:14 PST
From: "Hern�n Tornielli" <hernan@nospam.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fa1b5bf$1@newsgroups.borland.com>
Subject: Re: SHGetSpecialFolderLocation not found
Date: Thu, 30 Oct 2003 22:36:11 -0300
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 200.59.52.131
Message-ID: <3fa1bc5a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1067564122 200.59.52.131 (30 Oct 2003 17:35:22 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail