🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1151

TCppWebBrowser breaks pre-compiled headers when #include "SHDocVw_OCX.h"

#1151
From: Albert Wiersch
Date: Wed, 01 Jun 2005 14:41
21 lines
1553 bytes
I added a TCppWebBrowser to a dialog and it broke pre-compiled headers... so 
it now takes WAY to long to compile my application.

It seems this was the culprit:
#include "SHDocVw_OCX.h"

But the message I get about pre-compiled headers is about one of my own 
classes which worked fine before:
[C++ Warning] valengine.h(236): W8058 Cannot create pre-compiled header: 
initialized data in header

What is the best way to handle this? Why is C++Builder giving me the above 
message about one of my own classes when I include "SHDocVw_OCX.h" but not 
if I don't? Is this a C++Builder bug?

Thank you.

-- 
Albert Wiersch
http://www.htmlvalidator.com/
Technical Details
Message-ID: <429dc907$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,2c401fdfbcb1e7b3,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Albert Wiersch" <mrinternetnewsborland@wiersch.com>
Newsgroups: borland.public.cppbuilder.internet.web
Subject: TCppWebBrowser breaks pre-compiled headers when #include "SHDocVw_OCX.h"
Date: Wed, 1 Jun 2005 09:41:19 -0500
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
NNTP-Posting-Host: 70.244.73.182
Message-ID: <429dc907$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1117636871 70.244.73.182 (1 Jun 2005 07:41:11 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail