🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
2 messages
2 total messages Started by Albert Wiersch Mon, 14 Aug 2006 19:36
DLL with SHDocVw_OCX and TCppWebBrowser crashes
#661
Author: 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
Re: DLL with SHDocVw_OCX and TCppWebBrowser crashes
#662
Author: Albert Wiersch
Date: Tue, 15 Aug 2006 14:32
35 lines
1870 bytes
Well, it wasn't what I thought. It is TBX (add-on to Toolbar2000) that seems 
to be causing the crash problem. I narrowed it down to one line:

#pragma link "TBX"

With above line: crash
Without: no crash

Now to try to dig deeper and fix it.

-- 
Albert Wiersch


"Albert Wiersch" <mrinternetnewsborland@wiersch.com> wrote in message 
news:44e0d095$1@newsgroups.borland.com...
>
> 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
>
>
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads