Its official, I need to get away from the computer! I recognize this sequence of bytes:
FF D8 FF E1 11 B4 4578696600004949 2A 00
Thats a JPEG header! The FF D8 FF E1 gave it away.
But unfortunately I don't understand what you are trying to do. What do you mean footer?
If you are trying to find the end of the JPEG file I think that you can just read until you find the EOI (End of Image) marker which are the bytes FFD9 but make sure that you reach each marker defined in the specification sequentially firsthand.
I would like to ask, how can I implement the CRichEditView with CRichEditDoc in my SDI application with multiple views. All the view are connected to the document class. Adding CRichEditView is not a problem, but I am not able to create CRichEditDoc a connect it to the view. I thought I can create a CRichEditDoc class member in my document, and when creating the view change the CCreateContext document pointer to that class member. The problem is, that CRichEditDoc is a abstract class, so I don't know hhow to make it work.
Thank you for your advise, Tomas