Serialization, but not using MFC
-
Data persistence using the serialization mechanism provided by MFC is a very simple way of storing the data of a program. However, what happens if we don't want to use MFC!?? Does another mechanism exist that is just as easy to use? My problem is that I am writing a program that will need to be used cross-platform and -OS, and so I am trying to get away from being too reliant on MFC (no matter how hard that may be making my life!:(() I suppose what I am asking is either this: 1) Has anyone else came up with an easy way to do this? Or (a more likely scenario...) 2) Has anyone got any information on how MFC actually serializes the data streams to file? What steps does it take to achieve this? And similarly, when reading the data back in. Any help would be greatly appreciated! Cheers! ;) Baz
-
Data persistence using the serialization mechanism provided by MFC is a very simple way of storing the data of a program. However, what happens if we don't want to use MFC!?? Does another mechanism exist that is just as easy to use? My problem is that I am writing a program that will need to be used cross-platform and -OS, and so I am trying to get away from being too reliant on MFC (no matter how hard that may be making my life!:(() I suppose what I am asking is either this: 1) Has anyone else came up with an easy way to do this? Or (a more likely scenario...) 2) Has anyone got any information on how MFC actually serializes the data streams to file? What steps does it take to achieve this? And similarly, when reading the data back in. Any help would be greatly appreciated! Cheers! ;) Baz
-
Sorry everyone!:-O Bit embarassing - didn't mean to post this hear! SORRY AGAIN!! (Please can you delete this message if you are reading this, Chris Maunder - I have tried by it doesn't want to know...)
-
Sorry everyone!:-O Bit embarassing - didn't mean to post this hear! SORRY AGAIN!! (Please can you delete this message if you are reading this, Chris Maunder - I have tried by it doesn't want to know...)
Baz wrote: Please can you delete this message if you are reading this, Chris Maunder - I have tried by it doesn't want to know You couldnt delete it, cause you posted it withoput logging in. Even then I think if you had given a passwd you could have deleted it. Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut