Could anyone kindly provide a snippnet that would support opening and reading of a specific file in the same folder as the exe? Using CDocument (Don't know if that involves serialize)
Using VS2008..
Thanks
Jack
Printable View
Could anyone kindly provide a snippnet that would support opening and reading of a specific file in the same folder as the exe? Using CDocument (Don't know if that involves serialize)
Using VS2008..
Thanks
Jack
What is the problem for you to write such a code yourself?
I am just confused about the online examples and I don't have much reference here.
Thanks
Jack
Well, if you don't want to make your job (writing code) yourself then either change the job, or hire a coder that will do that job for you or just use Google search for a code example you need... :rolleyes:
The framework does the opening and reading for you. Just create an MDI or SDI app and it will give you all the code to open and read CDocument derived objects. All you need to do is override the Serialize method. There really isn't much to it.
http://msdn.microsoft.com/en-us/libr...(v=vs.71).aspx