Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mcptUnknown is undeclared
#2
(10-30-2018, 11:00 AM)jeekanhaiya6 Wrote: In class IdMessageCode, it is saying undeclared Identifier mcptUnknown.

As it should be, because mcptUnknown existed in Indy 9 only:

Code:
type
  TIdMessageCoderPartType = (mcptUnknown, mcptText, mcptAttachment);

But it no longer exists in Indy 10:

Code:
type
  TIdMessageCoderPartType = (mcptText, mcptAttachment, mcptIgnore, mcptEOF);

There is no such thing as an "unknown" type of message part in Indy 10. Most message parts that you will ever concern yourself with are either mcptText or mcptAttachment. The other part types are for Indy's internal use.

Reply


Messages In This Thread
mcptUnknown is undeclared - by jeekanhaiya6 - 10-30-2018, 11:00 AM
RE: mcptUnknown is undeclared - by rlebeau - 10-30-2018, 10:28 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)