C# binary files questions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ubergeek

    #1

    C# binary files questions

    If I have a structure (shared between both C# code and C code - by using
    StructLayout/MarshalAs(Unman agedType.*) etc ), can anyone show kindly
    show me how I can save such a structure to a binary file which can then
    be read by a C (unmanaged) program - i.e. the C program can read the
    structure dumped from C#, back into the same structure in C.



Working...