🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: dynamic_cast does not work in packages

#2614
From: Clayton Arends
Date: Tue, 06 Feb 2007 00:26
15 lines
1694 bytes
*sigh* Fat fingered another post.  Let's try this again.

Can you post the *exact* setup you are using.  The number of packages you 
are using and *all* of your code.  Note, try to create a minimal scenario as 
it will make diagnosing the problem easier.

I use the package system heavily in my applications.  My apps are designed 
to run both with and without runtime packages.  When I am debugging my EXEs 
they are compiled "with runtime packages" to decrease compilation times. 
When I release they are built standalone.  Where it is required I use 
dynamic_cast in packages and EXEs without encountering the RTTI problems 
mentioned here.  The problem you are experiencing usually happens with raw 
DLLs or BPLs that have been loaded using LoadLibrary().

- Clayton
Technical Details
Message-ID: <45c7cad8$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45c1f643@newsgroups.borland.com> <45c7c793$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,eea25a98edb328b5
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Clayton Arends" <nospam_claytonarends@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <45c1f643@newsgroups.borland.com> <45c7c793$1@newsgroups.borland.com>
Subject: Re: dynamic_cast does not work in packages
Date: Mon, 5 Feb 2007 16:26:28 -0800
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 71.93.4.222
Message-ID: <45c7cad8$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1170721496 71.93.4.222 (5 Feb 2007 16:24:56 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail