I'm normally a VB.Net programmer but have run into some serialization issues with the .Net Compact Framework.
Background: I'm putting together a scanner app to connect to a server app and need to serialize data between them in order to send it across the network. Unfortunately, because I'm only building the communication protocol I don't know what object may be passed and need to serialize and de-serialize the object passed between the two.
Question: I'm able to "understand" C and C++ but am by no means a good programmer in these realms. Is there source code that someone had done in the past that I can compile on my own? I would prefer the source code rather than compiled in order to validate what it as actually doing so that (1) it can be used by my employer and (2) I can learn. I'd also prefer to only use the standard library and not any other open source items.
I appreciate any and all help anyone can provide.
Summery: Could anyone give me platform independent source code in C or C++ using only standard libraries that will generically serialize and deserialize any object that is passed to it?