I know this is a newbie question but it is not something I have encountered before in my limited programming experience!
I have the following structure in C++ and need to define the equivalent TYPE in PB.
So there is a main TYPE "TESTSTRUCT" that contains two other TYPEs "Check" and "GetInfo". But what is the syntax to correctly implement this in PB (I am using PBCC 6.03)?
Thanks
Robin
I have the following structure in C++ and need to define the equivalent TYPE in PB.
Code:
typedef struct _TESTSTRUCT{ ULONG field1; ULONG field2; union { struct { BOOL field3; } Check; struct { ULONG field4; ULONG field5; LONG field6; BOOL field7; BOOL field8; } GetInfo; } Parameters; } TESTSTRUCT;
Thanks
Robin
Comment