Article View: borland.public.cppbuilder.migration
Article #147BCB 2009: AddObject TBookmark
From: Matthias Schuppe
Date: Mon, 15 Dec 2008 08:09
Date: Mon, 15 Dec 2008 08:09
16 lines
1499 bytes
1499 bytes
Hi all,
the following
TCheckListBox* CheckListBox;
TBookmark Bookmark;
CheckListBox->Items->AddObject("Text", (TObject*)Bookmark);
worked with BCB 2007 but in BCB 2009 I get an error message that
typecast from TByteDynArray to TObject* is not allowed.
How can I solve this problem?
Regards,
Matthias
Technical Details
Message-ID:
<16dd1466-b413-41da-8f47-0b6b5d37c33f@m4g2000vbp.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!m4g2000vbp.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 110f51,3ca46df554aa4bb3,start X-Google-Attributes: gid110f51,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!m4g2000vbp.googlegroups.com!not-for-mail From: Matthias Schuppe <matthias2378@gmx.net> Newsgroups: borland.public.cppbuilder.migration Subject: BCB 2009: AddObject TBookmark Date: Mon, 15 Dec 2008 00:09:28 -0800 (PST) Organization: http://groups.google.com Lines: 16 Message-ID: <16dd1466-b413-41da-8f47-0b6b5d37c33f@m4g2000vbp.googlegroups.com> NNTP-Posting-Host: 82.210.249.4 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1229328569 8656 127.0.0.1 (15 Dec 2008 08:09:29 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 15 Dec 2008 08:09:29 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m4g2000vbp.googlegroups.com; posting-host=82.210.249.4; posting-account=C0dMXAoAAAAE0OE7ZWAOGd_UkjdOINnY User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4,gzip(gfe),gzip(gfe)