MFC Programming Question
I know there's a simple answer for this, but I can't figure it out, so ....
Writing a tool in C++, using MFC. Got my document/view classes sorted, now reading to startloading using the Serialize function. I want to serialize a simple text file, no class info written out before the text, plus access to a character pointer the text resides at would be useful. I can code up such a class myself, but surely there's a windows class that does this for me already, with all the standard serialize, buffer etc etc functions already written for me ? Keep looking at MSDN, but can't seem to find what I want.
Writing a tool in C++, using MFC. Got my document/view classes sorted, now reading to startloading using the Serialize function. I want to serialize a simple text file, no class info written out before the text, plus access to a character pointer the text resides at would be useful. I can code up such a class myself, but surely there's a windows class that does this for me already, with all the standard serialize, buffer etc etc functions already written for me ? Keep looking at MSDN, but can't seem to find what I want.
Boxer,
Was just looking through my Win32 SDK help file for ya, how about the ReadFile function? You C++ guys have to do it all the hard way! I use Delphi so I can either code to the metal or just use one of the hundreds of built in classes that wrap the Win32 API and do it in about 3 lines, simple!
Good luck
Gary
Was just looking through my Win32 SDK help file for ya, how about the ReadFile function? You C++ guys have to do it all the hard way! I use Delphi so I can either code to the metal or just use one of the hundreds of built in classes that wrap the Win32 API and do it in about 3 lines, simple!
Good luck
Gary
Thread
Thread Starter
Forum
Replies
Last Post



