🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

DLL with SHDocVw_OCX and TCppWebBrowser crashes

#661
From: Albert Wiersch
Date: Mon, 14 Aug 2006 19:36
15 lines
1391 bytes
I have a DLL and when I compile it with a form that has (because I use 
TCppWebBrowser)
#pragma link "SHDocVw_OCX"
#include "SHDocVw_OCX.h"

And then load and unload the DLL in an application (doing nothing else with 
the DLL), it crashes the application. If I remove the form it works.

Does anyone know why this would happen? I did not have this problem in 
C++Builder 6, but it is happening in BDS 2006.

-- 
Albert Wiersch
Fix your website: http://onlinewebcheck.com
Technical Details
Message-ID: <44e0d095$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.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

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,f4f2a51f96ad9798,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: DLL with SHDocVw_OCX and TCppWebBrowser crashes
Date: Mon, 14 Aug 2006 14:36:09 -0500
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 24.155.140.219
Message-ID: <44e0d095$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1155584149 24.155.140.219 (14 Aug 2006 12:35:49 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.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