Is there anyway in VB that you can define a String of Data (Buffer) and reference that data using a structure (Type)

with a pointer?


VC Example:


struct EntryStruct

{

char szFldName [50];

int nFldNumber;

};



char szBuffer [500];

char szName [50];


EntryStruct* pPtr;

pPtr = (EntryStruct*) szBuffer;

szName = pPtr.szFldName;