S
some one
I'm writing a program in C (microsoft vc++) to read in a binary file
(which was created by a C++ program) where a few fields are C++ GUIDs.
I'm not sure how to define my variable to read in this GUID.
Is GUID a pre-defined type in C? Which header file is it defined in?
How do I declare the variabe to read in the proper data? I know that
it is 16 byte struct similar to the following:
struct GUID_ex {
int a;
short b;
short c;
unsigned char d[8];
};
Do I have to declare it or does it already exist and how can I use
it. Would appreciate some comments. thanks
(which was created by a C++ program) where a few fields are C++ GUIDs.
I'm not sure how to define my variable to read in this GUID.
Is GUID a pre-defined type in C? Which header file is it defined in?
How do I declare the variabe to read in the proper data? I know that
it is 16 byte struct similar to the following:
struct GUID_ex {
int a;
short b;
short c;
unsigned char d[8];
};
Do I have to declare it or does it already exist and how can I use
it. Would appreciate some comments. thanks