R
Roob
I am learning C# and was wandering if there is a straightforward way to read
a binary file created by C++. For example, I have a data structure as
follows:
typedef struct _data
time_t date;
int seq;
char name[20];
short bday;
BOOL bIsWorking;
};
My first question is for just reading data back into a C# data structure,
will I need to create a struct using the same techniques for passing data to
unmanaged code (Runtime.Interop.Services)?
Second, how could I read this in using a data structure, is that possible?
Thanks for any help, I'll keep plugging a way at it any way!
Reuben
a binary file created by C++. For example, I have a data structure as
follows:
typedef struct _data
time_t date;
int seq;
char name[20];
short bday;
BOOL bIsWorking;
};
My first question is for just reading data back into a C# data structure,
will I need to create a struct using the same techniques for passing data to
unmanaged code (Runtime.Interop.Services)?
Second, how could I read this in using a data structure, is that possible?
Thanks for any help, I'll keep plugging a way at it any way!
Reuben