🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Choking on Win API header

#8712
From: Mark Jacobs
Date: Tue, 28 Sep 2004 19:44
23 lines
1802 bytes
I got this until I did this :-

#define NO_WIN32_LEAN_AND_MEAN
#include <shlobj.h>

#include <vcl.h>
#pragma hdrstop

#include "myform.h"
...

Notice I had to put it before the vcl include, and in the form's cpp module, not
the form's header file. HTH,
-- 
Mark Jacobs

"TerryC" <terryc.NOSPAM@sweetwaterhsa.NOSPAM.com> wrote in message
news:4159ade1$1@newsgroups.borland.com...
| "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:
| >Add NO_WIN32_LEAN_AND_MEAN to your project's Conditionals list.
| OK.  Did that.  Now I get:
| E2075 Incorrect project override option: NO_WIN32_LEAN_AND_MEAN
| ...twice in the build messages.
Technical Details
Message-ID: <4159bf36@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4159a5fe$1@newsgroups.borland.com> <4159ac7c$1@newsgroups.borland.com> <4159ade1$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: "Mark Jacobs" <http://www.jacobsm.com/mjmsg.htm?Borland%20Newsgroup>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4159a5fe$1@newsgroups.borland.com> <4159ac7c$1@newsgroups.borland.com> <4159ade1$1@newsgroups.borland.com>
Subject: Re: Choking on Win API header
Date: Tue, 28 Sep 2004 20:44:45 +0100
Lines: 24
Organization: DK Computing
MIME-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 81.86.186.94
Message-ID: <4159bf36@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1096400694 81.86.186.94 (28 Sep 2004 12:44:54 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail