Article View: borland.public.cppbuilder.nativeapi
Article #8720Re: Choking on Win API header
From: Jeff Kish
Date: Wed, 29 Sep 2004 01:44
Date: Wed, 29 Sep 2004 01:44
25 lines
1885 bytes
1885 bytes
On 28 Sep 2004 13:52:15 -0700, "TerryC" <terryc.DONTSPAMME@sweetwaterhsa.DONTSPAMME.com> wrote: > >"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote: >> >>"Mark Jacobs" <http://www.jacobsm.com/mjmsg.htm?Borland%20Newsgroup> wrote >>in message news:4159bf36@newsgroups.borland.com... >> >>> #define NO_WIN32_LEAN_AND_MEAN >>> #include <shlobj.h> >> >>You should be putting NO_WIN32_LEAN_AND_MEAN into the >>project's Conditionals list rather than in the code directly. > >It works great with the DEFINE in code, but not if it's done in >the Project Options. Why is that? > >-Terry That is pretty unusual. Something is messed up in, probably, your bpr file. Hopefully nothing else is out of wack there.. I'd track it down if you have the time. You can build a simple project and compare it to someone elses. HTH
Technical Details
Message-ID:
<8p4kl09ohshuh942lt83b3jflhk3qt4pnq@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4159a5fe$1@newsgroups.borland.com> <4159ac7c$1@newsgroups.borland.com> <4159ade1$1@newsgroups.borland.com> <4159bf36@newsgroups.borland.com> <4159c085$1@newsgroups.borland.com> <4159ceff$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,35ce85c6a60b475d X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Jeff Kish <kishjjrjj@provide.net> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Choking on Win API header Date: Tue, 28 Sep 2004 21:44:32 -0400 Message-ID: <8p4kl09ohshuh942lt83b3jflhk3qt4pnq@4ax.com> References: <4159a5fe$1@newsgroups.borland.com> <4159ac7c$1@newsgroups.borland.com> <4159ade1$1@newsgroups.borland.com> <4159bf36@newsgroups.borland.com> <4159c085$1@newsgroups.borland.com> <4159ceff$1@newsgroups.borland.com> X-Newsreader: Forte Agent 2.0/32.646 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 216.86.91.18 X-Trace: newsgroups.borland.com 1096422490 216.86.91.18 (28 Sep 2004 18:48:10 -0700) Lines: 25 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail