Unmanaged code and serialization

  • Thread starter Thread starter CH
  • Start date Start date
C

CH

Hy,

Is custom serialization a must for unmanaged classes? Is there an
easier way?

Thank you.
Dan Ionut Fechete
 
CH,
I am not sure your post makes sense. When you refer to "unmanaged classes",
we must assume you mean NON managed code (.NET) objects that would normally
be accessed through the P/Invoke layer.

Non-managed "classes" cannot be serialized unless they can be "translated"
into managed code representation, since serialization in the .NET Framework
is strictly a "managed code" phenomenon.

Perhaps if you could be more specific about exactly what it is you need to do?

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top