Accessing message parts from BCB

Giganews Newsgroups
Subject: Accessing message parts from BCB
Posted by:  John Franklin (jo…@lesberries.co.uk)
Date: Fri, 5 Mar 2004

Could you please tell me how to determine the type of a message part (text
or attachment) when iterating through all the parts from C++. The examples
are in Pascal and I can't determine the C++ equivalent for

if (Msg.MessageParts.Items[intIndex] is TIdAttachment)

for example.

Many thanks.

John Franklin

PS: By the way, are there any BCB examples for Indy?

Replies