怎么用TIdMessage类生成一个示例?

freeia 2003-08-20 08:34:13
急啊!
谁用过IdPOP3控件?
...全文
32 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
freeia 2003-08-20
  • 打赏
  • 举报
回复
[C++ Error] MainUnit.cpp(150): E2285 Could not find a match for 'TIdMessage::TIdMessage()'
[C++ Error] MainUnit.cpp(155): E2316 'FileName' is not a member of 'TIdMessagePart'
[C++ Error] MainUnit.cpp(156): E2316 'SaveToFile' is not a member of 'TIdMessagePart'
[C++ Warning] MainUnit.cpp(157): W8004 'strAttachmentFileName' is assigned a value that is never used
gloom 2003-08-20
  • 打赏
  • 举报
回复
TIdMessage* idm=new TIdMessage();

使用完成后应该使用delete idm;删除
记住,所有的VCL类都要用new来创建,

gloom 2003-08-20
  • 打赏
  • 举报
回复
TIdMessage* idm=new TIdMessage();
delete idm;
freeia 2003-08-20
  • 打赏
  • 举报
回复
看来csdn没什么高手啊.

552

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder 茶馆
社区管理员
  • 茶馆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧