![]() |
Strange if statement missing. 5 lines code
Hi. I use Indy component for working with pop3. ( C++ Builder)
Code Code:
if (mess->MessageParts->Items[inindex] is TIdAttachmentFile)raises error on first line with message "If statement missing )" Value mess is TIdMessage type. |
Strange if statement missing. 5 lines code
here is full listing of code
Code:
void __fastcall TForm1::sf(TObject *Sender) |
Re: Strange if statement missing. 5 lines code
"is" should be replaced by "=="...
Code:
if (mess->MessageParts->Items[inindex] is TIdAttachmentFile)Code:
if (mess->MessageParts->Items[inindex] == TIdAttachmentFile) |
Re: Strange if statement missing. 5 lines code
oh, thank you people. But my compiler (C++ Builder 6.0) has no include file <IdAttachmentFile.hpp>. Compiler rise error
"unable to open include file 'IdAttachment.hpp''. So, could you send this include file via e-mail? My e-mail is: hazamin@mail.com Big thanks, people. |
| All times are GMT +5.5. The time now is 15:02. |