如何使用C ++读取.msg格式文件的内容 [英] How to read content of .msg format file using C++
本文介绍了如何使用C ++读取.msg格式文件的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想通过使用c ++来读取通过控制台存储在本地驱动器中的.msg格式文件的内容。请给我指导。
我尝试过:
我试图像普通的.txt文件一样检索内容。首先,我不知道.msg格式。
I want to read the content of .msg format file which stored in local drive through console by using c++. Please give me guide lines.
What I have tried:
I tried to retrieve content as like normal .txt files. First i dont have idea on .msg format.
推荐答案
有关文件格式规范,请参阅 [MS-OXMSG]:Outlook项目(.msg)文件格式 [ ^ ]。
格式基于复合文件二进制文件格式(参见 [MS] -CFB]:复合文件二进制文件格式 [ ^ ])。请注意,实现阅读器是一项非常复杂的任务。因此,搜索现有代码以读取CFB文件可能会有所帮助。
For the file format specification see [MS-OXMSG]: Outlook Item (.msg) File Format[^].
The format is based on the Compound File Binary File Format (see [MS-CFB]: Compound File Binary File Format[^]). Note that implementing a reader is a quite complex task. So it might help to search for existing code to read CFB files.
这篇关于如何使用C ++读取.msg格式文件的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文