Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

BCB 2009: AddObject TBookmark

9 views
Skip to first unread message

Matthias Schuppe

unread,
Dec 15, 2008, 3:09:28 AM12/15/08
to
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

0 new messages