Article View: borland.public.cppbuilder.nativeapi
Article #2621Re: dynamic_cast does not work in packages
From: Clayton Arends
Date: Tue, 06 Feb 2007 16:45
Date: Tue, 06 Feb 2007 16:45
14 lines
1803 bytes
1803 bytes
You can try using LoadPackage() rather than LoadLibrary() to load your plug-ins (if they are BPLs and not DLLs). If the EXE and all of your BPLs are built with runtime packages then there might be a chance that the VCL will fixup the RTTI mapping. However, I have no personal experience with this approach and won't be able to test until later in the day today. > please tell where can i upload test example of my problem. I think all of the information I need to have you provided in this last post. It wasn't clear to me that you were creating plug-ins. From your first post it appeared that you were simply breaking apart your program into packages. - Clayton
Technical Details
Message-ID:
<45c8b0b1$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<45c1f643@newsgroups.borland.com> <45c7c793$1@newsgroups.borland.com> <45c7cad8$1@newsgroups.borland.com> <45c83ebc@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> <45c7cad8$1@newsgroups.borland.com> <45c83ebc@newsgroups.borland.com> Subject: Re: dynamic_cast does not work in packages Date: Tue, 6 Feb 2007 08:45:56 -0800 Lines: 16 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; Original NNTP-Posting-Host: 71.93.4.222 Message-ID: <45c8b0b1$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1170780337 71.93.4.222 (6 Feb 2007 08:45:37 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail