I need save textual information using my VC++ MFC application in a file such that it will be read-only. So far, I have considered two alternatives, but I am not happy with either
1) I could save the file as a pdf. But the couple of pdf libraries I have looked at, both appear to have a steep learning curve.
2) Zip the file inside an archive, even password protect it. However, that still does not make it read-only. For zipping, I found this wonderful library - http://www.codeproject.com/Articles/7530/Zip-Utils-clean-elegant-simple-C-Win
Could you please suggest me a better way of doing it.
FWIW, I am on Visual Studio 2013, so I have C++11 available to me. Also, I have Boost linked into my code.