locked
WinMobile File IO RRS feed

  • Question

  • Hello all:

    We are trying to write a good file IO routine for the WinMobile platform. We are trying to write an entire class at one function (For which Serialization works great on the Win platform) BUT Serialization does not seem to exist on the WinMobile platform (Except maybe XML Serialization but we are writing to our own binary file for security reasons).

    Question is how could this be done (Basically Write(Myclass);) on the WinMobile platform?

    Thanks in advance!

    • Moved by Harry Zhu Tuesday, January 26, 2010 6:21 AM relating to winmobile (From:Visual C# General)
    Friday, January 22, 2010 6:20 PM

Answers


  • The .NET Compact Framework dos not support binary serialization. You can either implement it on your own, or you can find some 3rd party libraries such as this Compact Formatter:
    http://www.freewebs.com/compactFormatter/downloads.html 


    Please mark the post that helps you, and unmark that does not. This benefits our community.
    • Marked as answer by warrentang Friday, January 29, 2010 1:55 AM
    Thursday, January 28, 2010 2:34 AM

All replies


  • The .NET Compact Framework dos not support binary serialization. You can either implement it on your own, or you can find some 3rd party libraries such as this Compact Formatter:
    http://www.freewebs.com/compactFormatter/downloads.html 


    Please mark the post that helps you, and unmark that does not. This benefits our community.
    • Marked as answer by warrentang Friday, January 29, 2010 1:55 AM
    Thursday, January 28, 2010 2:34 AM
  • Thank you!
    Saturday, May 1, 2010 3:06 PM