Article View: borland.public.cppbuilder.nativeapi
Article #11587Re: NO_WIN32_LEAN_AND_MEAN - shlobj.h and Indy
From: Remy Lebeau (TeamB)
Date: Fri, 30 Jan 2004 01:16
Date: Fri, 30 Jan 2004 01:16
14 lines
1549 bytes
1549 bytes
"Angus" <aguspickton@yahoo.com> wrote in message news:4019a511@newsgroups.borland.com... > Remy, thanks for your reply.. i can understand in principle what > you say. But what is the practice? The simple test app i have > has this as the header. The same error occurs until i comment > out shlobj.h. The VCL's main header file, vcl.h, causes windows.h to be included, which in turn includes winsock.h. Try adding _WINSOCKAPI_ to the Conditionals list in the Project Options to disable winsock.h from declaring anything. Gambit
Technical Details
Message-ID:
<4019aebe$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-mailReferences:
<40198ada@newsgroups.borland.com> <4019946d@newsgroups.borland.com> <4019a511@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,1d23a55e530c8387 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-29 17:39:43 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <40198ada@newsgroups.borland.com> <4019946d@newsgroups.borland.com> <4019a511@newsgroups.borland.com> Subject: Re: NO_WIN32_LEAN_AND_MEAN - shlobj.h and Indy Date: Thu, 29 Jan 2004 17:16:17 -0800 Lines: 16 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: 67.22.138.253 Message-ID: <4019aebe$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1075424958 67.22.138.253 (29 Jan 2004 17:09:18 -0700) 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