Article View: borland.public.cppbuilder.nativeapi
Article #4490Re: SHGetFolderPath generates errors in header file
From: Kris
Date: Sun, 15 Jan 2006 19:37
Date: Sun, 15 Jan 2006 19:37
11 lines
1202 bytes
1202 bytes
I managed to solve my problem... >#define NO_WIN32_LEAN_AND_MEAN >#include "shlobj.h" Didn't work. Then I went to project options / path & defines / conditional defines and added NO_WIN32_LEAN_AND_MEAN to it instead of using a #define in the header file. This solved the compilation problems.
Technical Details
Message-ID:
<519ls1l7fqe7peogb5mmndvm81vqutvbch@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<b47ls1lmu1c0qs74336v76ddlgo20h4n2k@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,eb598d5296eede42 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Kris <x.y@xyz.xx> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: SHGetFolderPath generates errors in header file Date: Sun, 15 Jan 2006 20:37:48 +0100 Message-ID: <519ls1l7fqe7peogb5mmndvm81vqutvbch@4ax.com> References: <b47ls1lmu1c0qs74336v76ddlgo20h4n2k@4ax.com> X-Newsreader: Forte Free Agent 3.1/32.783 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 81.11.237.119 X-Trace: newsgroups.borland.com 1137353702 81.11.237.119 (15 Jan 2006 11:35:02 -0700) Lines: 12 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail