G
Guest
to all
I need to intigrate a vb.net application to a API (written for c) that deals
with processing messages. Each message type is represented by a structure.
All message structures are containded in a union "Message".
In c the code would be as follows:
typedef struct
{
EventHeaderType eventHeader;
union
{
Event1Type event1;
Event2Type event2;
Event3Type event3;
Event3Type event4;
} event;
char heap[MAX_HEAP];
}EventType;
How can this be done in vb.net?
I need to intigrate a vb.net application to a API (written for c) that deals
with processing messages. Each message type is represented by a structure.
All message structures are containded in a union "Message".
In c the code would be as follows:
typedef struct
{
EventHeaderType eventHeader;
union
{
Event1Type event1;
Event2Type event2;
Event3Type event3;
Event3Type event4;
} event;
char heap[MAX_HEAP];
}EventType;
How can this be done in vb.net?